netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jan Engelhardt <jengelh@medozas.de>
To: kaber@trash.net
Cc: netfilter-devel@vger.kernel.org
Subject: [PATCH 4/4] iptables: restore negation for -f
Date: Tue,  5 Jul 2011 15:14:41 +0200	[thread overview]
Message-ID: <1309871682-27307-5-git-send-email-jengelh@medozas.de> (raw)
In-Reply-To: <1309871682-27307-1-git-send-email-jengelh@medozas.de>

This move was missed in commit v1.4.11~77^2~6.

References: http://bugs.debian.org/632695
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
---
 iptables/iptables.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/iptables/iptables.c b/iptables/iptables.c
index 477e8f1..6ceaf6b 100644
--- a/iptables/iptables.c
+++ b/iptables/iptables.c
@@ -178,9 +178,9 @@ static const int inverse_for_options[NUMBER_OF_OPT] =
 /* -x */ 0,
 /* -i */ IPT_INV_VIA_IN,
 /* -o */ IPT_INV_VIA_OUT,
-/* -f */ IPT_INV_FRAG,
 /*--line*/ 0,
 /* -c */ 0,
+/* -f */ IPT_INV_FRAG,
 };
 
 #define opts iptables_globals.opts
-- 
1.7.3.4


  parent reply	other threads:[~2011-07-05 13:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-05 13:14 iptables fixes 20110705 Jan Engelhardt
2011-07-05 13:14 ` [PATCH 1/4] build: install modules in arch-dependent location Jan Engelhardt
2011-07-05 13:14 ` [PATCH 2/4] doc: fix version string in ip6tables.8 Jan Engelhardt
2011-07-05 13:14 ` [PATCH 3/4] doc: the -m option cannot be inverted Jan Engelhardt
2011-07-05 13:14 ` Jan Engelhardt [this message]
2011-07-05 13:16 ` iptables fixes 20110705 Patrick McHardy

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=1309871682-27307-5-git-send-email-jengelh@medozas.de \
    --to=jengelh@medozas.de \
    --cc=kaber@trash.net \
    --cc=netfilter-devel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).