From b7408916d01486a7a5878ba721465b86f5945ef4 Mon Sep 17 00:00:00 2001 From: Phil Oester Date: Mon, 30 Apr 2007 00:01:39 +0000 Subject: 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 Oester) --- ip6tables.c | 1 + iptables.c | 1 + 2 files changed, 2 insertions(+) diff --git a/ip6tables.c b/ip6tables.c index d2314b77..4510ba4a 100644 --- a/ip6tables.c +++ b/ip6tables.c @@ -233,6 +233,7 @@ static const struct pprot chain_protos[] = { { "ah", IPPROTO_AH }, { "ipv6-mh", IPPROTO_MH }, { "mh", IPPROTO_MH }, + { "all", 0 }, }; static char * diff --git a/iptables.c b/iptables.c index 60ddc2d4..893b02db 100644 --- a/iptables.c +++ b/iptables.c @@ -232,6 +232,7 @@ static const struct pprot chain_protos[] = { { "esp", IPPROTO_ESP }, { "ah", IPPROTO_AH }, { "sctp", IPPROTO_SCTP }, + { "all", 0 }, }; static char * -- cgit v1.2.3