]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- updated fwd_zero for newer nc. Updated common.sh for newer netstat.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Mon, 28 Jan 2013 13:30:46 +0000 (13:30 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Mon, 28 Jan 2013 13:30:46 +0000 (13:30 +0000)
git-svn-id: file:///svn/unbound/trunk@2825 be551aaa-1e26-0410-a405-d3ace91eadb9

doc/Changelog
testdata/common.sh
testdata/fwd_zero.tpkg

index 46a97ae96d872e261a1a3019c16a4e151a88ce66..60c8adf1eac85797d44620e4fed2d987bcc3759d 100644 (file)
@@ -1,3 +1,6 @@
+28 January 2013: Wouter
+       - updated fwd_zero for newer nc. Updated common.sh for newer netstat.
+
 17 January 2013: Wouter
        - unbound-anchors checks the emailAddress of the signer of the
          root.xml file, default is dnssec@iana.org.  It also checks that
index 8e3b2293ec671cd75ed013f8a41ddec80cf24b04..2a8ec7bb34bfd32183d0fc3a5cc31852dabd59da 100644 (file)
@@ -116,7 +116,7 @@ get_random_port () {
                # depending on uname try to check for collisions in port numbers
                case "`uname`" in
                linux|Linux)
-                       plist=`netstat -n -A ip -A ip6 -a | sed -e 's/^.*:\([0-9]*\) .*$/\1/'`
+                       plist=`netstat -n -A ip -A ip6 -a 2>/dev/null | sed -e 's/^.*:\([0-9]*\) .*$/\1/'`
                ;;
                FreeBSD|freebsd|NetBSD|netbsd|OpenBSD|openbsd)
                        plist=`netstat -n -a | grep "^[ut][dc]p[46] " | sed -e 's/^.*\.\([0-9]*\) .*$/\1/'`
index 151d695635f297aa1c65b4e3efc617dd93ec8766..b597bb66a4afbd77c5d1b44ed9705713606952ec 100644 (file)
Binary files a/testdata/fwd_zero.tpkg and b/testdata/fwd_zero.tpkg differ