Whamcloud - gitweb
Need to get values from netstat "unresolved" because the port numbers returned
authorbrian <brian>
Tue, 5 Jul 2005 21:31:00 +0000 (21:31 +0000)
committerbrian <brian>
Tue, 5 Jul 2005 21:31:00 +0000 (21:31 +0000)
are used in numerical comparisons.

lustre/tests/sanity.sh

index a1447f7..9b2d862 100644 (file)
@@ -2471,7 +2471,7 @@ test_99f() {
 run_test 99f "cvs commit ======================================="
 
 test_100() {
-        netstat -ta | while read PROT SND RCV LOCAL REMOTE STAT; do
+        netstat -tan | while read PROT SND RCV LOCAL REMOTE STAT; do
                 LPORT=`echo $LOCAL | cut -d: -f2`
                 RPORT=`echo $REMOTE | cut -d: -f2`
                 if [ "$PROT" = "tcp" ] && [ "$LPORT" != "*" ] && [ "$RPORT" != "*" ] && [ $RPORT -eq 988 ] && [ $LPORT -gt 1024 ]; then