Displaying 1 result from an estimated 1 matches for "sendip".
Did you mean:
sandip
2018 Jan 02
8
[Bug 1209] New: Replace 'netstat' with 'ss'
...dex: ipset-6.34/tests/runtest.sh
===================================================================
--- ipset-6.34.orig/tests/runtest.sh
+++ ipset-6.34/tests/runtest.sh
@@ -45,7 +45,7 @@ add_tests() {
`$cmd -t filter | grep ACCEPT | wc -l` -eq 3 ]; then
if [ -z "`which sendip`" ]; then
echo "sendip utility is missig: skipping $1 match and target
tests"
- elif [ -n "`netstat --protocol $1 -n | grep $2`" ]; then
+ elif [ -n "`ss -f $1 -n | grep $2`" ]; then
echo "Our test n...