From ff7a7b021275bce3b2b2e11336a970c8041066af Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Mon, 12 Aug 2002 20:02:22 +0000 Subject: use -n with iptables -L (#70807) --- sysconfig/network-scripts/ifup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysconfig/network-scripts/ifup') diff --git a/sysconfig/network-scripts/ifup b/sysconfig/network-scripts/ifup index 029cf6d9..05731c35 100755 --- a/sysconfig/network-scripts/ifup +++ b/sysconfig/network-scripts/ifup @@ -127,7 +127,7 @@ fi # Is there a firewall running, and does it look like one we configured? FWACTIVE= -if iptables -L 2>/dev/null | grep -q RH-Lokkit-0-50-INPUT ; then +if iptables -L -n 2>/dev/null | grep -q RH-Lokkit-0-50-INPUT ; then FWACTIVE=1 fi -- cgit v1.2.1