aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup-post
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2002-08-15 17:58:11 +0000
committerBill Nottingham <notting@redhat.com>2002-08-15 17:58:11 +0000
commitfb7039d0881f2c35c7263e92ccd3d29be1674779 (patch)
tree71789ac40fb825658e1ea2c668a3443cad2be561 /sysconfig/network-scripts/ifup-post
parentcca968d95b5fe2264f09170b4b65fc32554b8086 (diff)
downloadinitscripts-fb7039d0881f2c35c7263e92ccd3d29be1674779.tar
initscripts-fb7039d0881f2c35c7263e92ccd3d29be1674779.tar.gz
initscripts-fb7039d0881f2c35c7263e92ccd3d29be1674779.tar.bz2
initscripts-fb7039d0881f2c35c7263e92ccd3d29be1674779.tar.xz
initscripts-fb7039d0881f2c35c7263e92ccd3d29be1674779.zip
switch to -I (#71201)
Diffstat (limited to 'sysconfig/network-scripts/ifup-post')
-rwxr-xr-xsysconfig/network-scripts/ifup-post2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup-post b/sysconfig/network-scripts/ifup-post
index 95afdafa..97c002fc 100755
--- a/sysconfig/network-scripts/ifup-post
+++ b/sysconfig/network-scripts/ifup-post
@@ -88,7 +88,7 @@ if [ "$FIREWALL_MODS" != "no" -a -f /etc/sysconfig/iptables ] && \
if [ -n "$ns" ]; then
for nameserver in $ns ; do
if ! iptables -L RH-Lokkit-0-50-INPUT -n | grep -q $nameserver ; then
- iptables -A RH-Lokkit-0-50-INPUT -m udp -s $nameserver/32 --sport 53 -d 0/0 --dport 1025:65535 -p udp -j ACCEPT
+ iptables -I RH-Lokkit-0-50-INPUT -m udp -s $nameserver/32 --sport 53 -d 0/0 --dport 1025:65535 -p udp -j ACCEPT
[ -x /usr/bin/logger ] && logger $"punching nameserver $nameserver through the firewall"
fi
done