diff options
author | delphij <delphij@FreeBSD.org> | 2014-04-21 19:33:27 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2014-04-21 19:33:27 +0000 |
commit | c5b1d984c766bfcf6693e04cbe248c64665fda8f (patch) | |
tree | 1bcc81de9ef4c6004afe9fbb6e38750b3b11b37a | |
parent | 87348af494e33dfcc20af0a0c6f6f12dad2d2ee9 (diff) | |
download | FreeBSD-src-c5b1d984c766bfcf6693e04cbe248c64665fda8f.zip FreeBSD-src-c5b1d984c766bfcf6693e04cbe248c64665fda8f.tar.gz |
Use case insensitive match in portsnap.
PR: bin/186510
Submitted by: olli
MFC after: 2 weeks
-rw-r--r-- | usr.sbin/portsnap/portsnap/portsnap.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/portsnap/portsnap/portsnap.sh b/usr.sbin/portsnap/portsnap/portsnap.sh index 81efbb7..cba06d2 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 |