aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2002-08-12 20:02:22 +0000
committerBill Nottingham <notting@redhat.com>2002-08-12 20:02:22 +0000
commitff7a7b021275bce3b2b2e11336a970c8041066af (patch)
treee224b8f966f18a372a43d807ff2f5d9ea867b0dc /sysconfig/network-scripts/ifup
parentad0afc3342d0653e9a6da8189cd4c9edcbafd21b (diff)
downloadinitscripts-ff7a7b021275bce3b2b2e11336a970c8041066af.tar
initscripts-ff7a7b021275bce3b2b2e11336a970c8041066af.tar.gz
initscripts-ff7a7b021275bce3b2b2e11336a970c8041066af.tar.bz2
initscripts-ff7a7b021275bce3b2b2e11336a970c8041066af.tar.xz
initscripts-ff7a7b021275bce3b2b2e11336a970c8041066af.zip
use -n with iptables -L (#70807)
Diffstat (limited to 'sysconfig/network-scripts/ifup')
-rwxr-xr-xsysconfig/network-scripts/ifup2
1 files changed, 1 insertions, 1 deletions
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