summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ip6tables.c1
-rw-r--r--iptables.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/ip6tables.c b/ip6tables.c
index d2314b7..4510ba4 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 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 *