All of lore.kernel.org
 help / color / mirror / Atom feed
From: Phil Oester <kernel@linuxace.com>
To: netfilter-devel@lists.netfilter.org
Subject: [PATCH] Unspecified proto should print as "all" in iptables -L
Date: Sat, 28 Apr 2007 15:02:06 -0700	[thread overview]
Message-ID: <20070428220206.GA26272@linuxace.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 257 bytes --]

In fixing bug #446 [1], the output for unspecified proto was changed
from "all" to "0".  This reverts to the original behaviour, and
closes bugzilla #543.

Phil

[1] http://svn.netfilter.org/cgi-bin/viewcvs.cgi/trunk/iptables/ip6tables.c?r1=6465&r2=6466




[-- Attachment #2: patch-ipt-proto-all --]
[-- Type: text/plain, Size: 302 bytes --]

diff -ru ipt-orig/iptables.c ipt-new/iptables.c
--- ipt-orig/iptables.c	2007-03-20 08:51:41.000000000 -0700
+++ ipt-new/iptables.c	2007-04-28 14:51:02.000000000 -0700
@@ -232,6 +232,7 @@
 	{ "esp", IPPROTO_ESP },
 	{ "ah", IPPROTO_AH },
 	{ "sctp", IPPROTO_SCTP },
+	{ "all", 0 },
 };
 
 static char *

             reply	other threads:[~2007-04-28 22:02 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-28 22:02 Phil Oester [this message]
2007-04-29 23:06 ` [PATCH] Unspecified proto should print as "all" in iptables -L Pablo Neira Ayuso
2007-04-30  8:38   ` Jan Engelhardt
2007-04-30 17:13     ` Phil Oester
2007-04-30 17:25       ` Jan Engelhardt
2007-04-30 17:36         ` Phil Oester
2007-04-30 18:17           ` Jorge Davila
2007-04-30 20:09             ` Phil Oester
2007-05-03 16:16               ` Jorge Davila
2007-05-03 16:33                 ` Carl-Daniel Hailfinger
2007-05-03 17:31                   ` Phil Oester
2007-05-03 17:45                     ` Carl-Daniel Hailfinger
2007-06-02 18:49           ` How to match protocol 0 Jan Engelhardt
2007-06-02 21:19             ` Jan Engelhardt

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=20070428220206.GA26272@linuxace.com \
    --to=kernel@linuxace.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.