From: Martijn Lievaart <netfilter-devel@rtij.nl>
To: bero@redhat.com
Cc: Netfilter Development Mailinglist <netfilter-devel@lists.netfilter.org>
Subject: trivial patch for /etc/init.d/ip6tables
Date: Wed, 07 May 2003 00:57:21 +0200 [thread overview]
Message-ID: <3EB83DD1.4000005@rtij.nl> (raw)
[-- Attachment #1: Type: text/plain, Size: 262 bytes --]
Hello,
I think this is RedHat specific, so I send this to the author. CC to the
netfilter-devel-list just FYI.
There is a little bug in /etc/init.d/ip6tables, it uses the ipv4
tablenames for flushing and clearing. See attached patch.
HTH,
Martijn Lievaart
[-- Attachment #2: ip6tables.patch --]
[-- Type: text/plain, Size: 595 bytes --]
[root@ma init.d]# diff -u ip6tables*
--- ip6tables Wed May 7 00:46:21 2003
+++ ip6tables~ Wed Oct 23 21:47:29 2002
@@ -51,7 +51,7 @@
if [ -f $IPTABLES_CONFIG ]; then
# If we don't clear these first, we might be adding to
# pre-existing rules.
- chains=`cat /proc/net/ip6_tables_names 2>/dev/null`
+ chains=`cat /proc/net/ip_tables_names 2>/dev/null`
echo -n $"Flushing all current rules and user defined chains:"
let ret=0
for i in $chains; do ip6tables -t $i -F; let ret+=$?; done
[root@ma init.d]#
reply other threads:[~2003-05-06 22:57 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3EB83DD1.4000005@rtij.nl \
--to=netfilter-devel@rtij.nl \
--cc=bero@redhat.com \
--cc=netfilter-devel@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.