summaryrefslogtreecommitdiffstats
path: root/iptables.c
diff options
context:
space:
mode:
author/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org>2007-04-30 00:01:39 +0000
committer/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org>2007-04-30 00:01:39 +0000
commit3fce9ef8254af5fdb49abf95810e867aaa6f219c (patch)
treeb33ff56526332febe4c9467978556d6c55625c01 /iptables.c
parenta1fa2c7d6a8232f8440b9996800a0c5543e97a55 (diff)
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)
Diffstat (limited to 'iptables.c')
-rw-r--r--iptables.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/iptables.c b/iptables.c
index 60ddc2d..893b02d 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 *