MFC r264740:

Use case insensitive match in portsnap.

PR:		bin/186510
Submitted by:	olli
This commit is contained in:
delphij 2014-05-09 07:07:25 +00:00
parent 0a785ddfd1
commit 1b18a5ca98

View File

@ -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