aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2003-03-13 01:17:02 +0000
committerBill Nottingham <notting@redhat.com>2003-03-13 01:17:02 +0000
commit9e3bccf1d0671f2164510690a88e5b5d3eec2da1 (patch)
tree73b237c67349f56ffb1839f898ed3c8246eae3d1 /sysconfig/network-scripts/ifup
parent8e7d59c0aa7cd24b57f0d59521b7a9f87ed0b8df (diff)
downloadinitscripts-9e3bccf1d0671f2164510690a88e5b5d3eec2da1.tar
initscripts-9e3bccf1d0671f2164510690a88e5b5d3eec2da1.tar.gz
initscripts-9e3bccf1d0671f2164510690a88e5b5d3eec2da1.tar.bz2
initscripts-9e3bccf1d0671f2164510690a88e5b5d3eec2da1.tar.xz
initscripts-9e3bccf1d0671f2164510690a88e5b5d3eec2da1.zip
revert. chain name change was reverted.
Diffstat (limited to 'sysconfig/network-scripts/ifup')
-rwxr-xr-xsysconfig/network-scripts/ifup8
1 files changed, 4 insertions, 4 deletions
diff --git a/sysconfig/network-scripts/ifup b/sysconfig/network-scripts/ifup
index 0001cbf6..944edaaf 100755
--- a/sysconfig/network-scripts/ifup
+++ b/sysconfig/network-scripts/ifup
@@ -190,7 +190,7 @@ fi
# Is there a firewall running, and does it look like one we configured?
FWACTIVE=
-if iptables -L -n 2>/dev/null | grep -q RH-Lokkit-0-50 ; then
+if iptables -L -n 2>/dev/null | grep -q RH-Lokkit-0-50-INPUT ; then
FWACTIVE=1
else
modprobe -r iptable_filter >/dev/null 2>&1
@@ -243,7 +243,7 @@ if [ -n "${DYNCONFIG}" ]; then
# what DNS server they're using until they are done.
FWHACK=
if [ -n "$FWACTIVE" -a "$FIREWALL_MODS" != "no" ]; then
- iptables -I RH-Lokkit-0-50 -m udp -s 0/0 --sport 53 -d 0/0 --dport 1025:65535 -p udp -j ACCEPT
+ iptables -I RH-Lokkit-0-50-INPUT -m udp -s 0/0 --sport 53 -d 0/0 --dport 1025:65535 -p udp -j ACCEPT
FWHACK=1
fi
@@ -255,11 +255,11 @@ if [ -n "${DYNCONFIG}" ]; then
echo $" done."
else
echo $" failed."
- [ -n "$FWHACK" ] && iptables -D RH-Lokkit-0-50 -m udp -s 0/0 --sport 53 -d 0/0 --dport 1025:65535 -p udp -j ACCEPT
+ [ -n "$FWHACK" ] && iptables -D RH-Lokkit-0-50-INPUT -m udp -s 0/0 --sport 53 -d 0/0 --dport 1025:65535 -p udp -j ACCEPT
exit 1
fi
- [ -n "$FWHACK" ] && iptables -D RH-Lokkit-0-50 -m udp -s 0/0 --sport 53 -d 0/0 --dport 1025:65535 -p udp -j ACCEPT
+ [ -n "$FWHACK" ] && iptables -D RH-Lokkit-0-50-INPUT -m udp -s 0/0 --sport 53 -d 0/0 --dport 1025:65535 -p udp -j ACCEPT
# DHCP likes to create duplicate routes. Fix that up.
NUMDEFROUTES=`ip -o route | \