Use case insensitive match in portsnap.

PR:		bin/186510
Submitted by:	olli
MFC after:	2 weeks
This commit is contained in:
delphij 2014-04-21 19:33:27 +00:00
parent 87348af494
commit c5b1d984c7

View File

@ -367,7 +367,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