-Coders,

I just tracked down bug 1230366

  http://sourceforge.net/support/tracker.php?aid=1230366

and proposed the attached fix for testing/TESTCONF.sh.

Are there any objections against applying this patch to 5.[123].x?

More specifically, does anyone know of a supported platform where
- "make test" works properly right now (except this bug) *and*
- netstat does *not* support "-n" ?


+Thomas

--
Thomas Anders (thomas.anders at blue-cable.de)
Index: testing/TESTCONF.sh
===================================================================
RCS file: /cvsroot/net-snmp/net-snmp/testing/TESTCONF.sh,v
retrieving revision 5.4
diff -u -r5.4 TESTCONF.sh
--- testing/TESTCONF.sh	10 Jun 2005 19:55:03 -0000	5.4
+++ testing/TESTCONF.sh	25 Jul 2005 22:11:55 -0000
@@ -104,7 +104,7 @@
         fi
         while :
         do
-            IN_USE=`$NETSTAT -a 2>/dev/null | grep "[\.:]$SNMP_SNMPD_PORT "`
+            IN_USE=`$NETSTAT -a -n 2>/dev/null | grep "[\.:]$SNMP_SNMPD_PORT "`
             if [ $? -eq 0 ]; then
                 #ECHO "Port $SNMP_SNMPD_PORT in use:"
                 #echo "->$IN_USE"

Reply via email to