From c5b1d984c766bfcf6693e04cbe248c64665fda8f Mon Sep 17 00:00:00 2001 From: delphij Date: Mon, 21 Apr 2014 19:33:27 +0000 Subject: [PATCH] Use case insensitive match in portsnap. PR: bin/186510 Submitted by: olli MFC after: 2 weeks --- usr.sbin/portsnap/portsnap/portsnap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/portsnap/portsnap/portsnap.sh b/usr.sbin/portsnap/portsnap/portsnap.sh index 81efbb70c0cc..cba06d246d60 100644 --- a/usr.sbin/portsnap/portsnap/portsnap.sh +++ b/usr.sbin/portsnap/portsnap/portsnap.sh @@ -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