svn commit: r265742 - stable/10/usr.sbin/portsnap/portsnap

Xin LI delphij at FreeBSD.org
Fri May 9 07:07:26 UTC 2014


Author: delphij
Date: Fri May  9 07:07:25 2014
New Revision: 265742
URL: http://svnweb.freebsd.org/changeset/base/265742

Log:
  MFC r264740:
  
  Use case insensitive match in portsnap.
  
  PR:		bin/186510
  Submitted by:	olli

Modified:
  stable/10/usr.sbin/portsnap/portsnap/portsnap.sh
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/usr.sbin/portsnap/portsnap/portsnap.sh
==============================================================================
--- stable/10/usr.sbin/portsnap/portsnap/portsnap.sh	Fri May  9 07:04:12 2014	(r265741)
+++ stable/10/usr.sbin/portsnap/portsnap/portsnap.sh	Fri May  9 07:07:25 2014	(r265742)
@@ -362,7 +362,7 @@ fetch_pick_server_init() {
 # "$name server selection ..."; we allow either format.
 	MLIST="_http._tcp.${SERVERNAME}"
 	host -t srv "${MLIST}" |
-	    sed -nE "s/${MLIST} (has SRV record|server selection) //p" |
+	    sed -nE "s/${MLIST} (has SRV record|server selection) //Ip" |
 	    cut -f 1,2,4 -d ' ' |
 	    sed -e 's/\.$//' |
 	    sort > serverlist_full


More information about the svn-src-all mailing list