summaryrefslogtreecommitdiffstats
path: root/iptables-save.c
diff options
context:
space:
mode:
authorAndrás Kis-Szabó <kisza@sch.bme.hu>2001-02-26 17:31:20 +0000
committerHarald Welte <laforge@gnumonks.org>2001-02-26 17:31:20 +0000
commit764316a133db8e5e2d1f2a9d941ffae993d7c9d9 (patch)
tree828149f26538839f8338504058c76608235c3465 /iptables-save.c
parent45493a864a4cb779c499b9743c9932233ce5fc86 (diff)
ip6tables-save/-restore by Kis-Szabo Andras
Diffstat (limited to 'iptables-save.c')
-rw-r--r--iptables-save.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/iptables-save.c b/iptables-save.c
index c66554dc..f648efae 100644
--- a/iptables-save.c
+++ b/iptables-save.c
@@ -63,11 +63,13 @@ struct pprot {
u_int8_t num;
};
-/* FIXME: why don't we use /etc/services ? */
+/* FIXME: why don't we use /etc/protocols ? */
static const struct pprot chain_protos[] = {
{ "tcp", IPPROTO_TCP },
{ "udp", IPPROTO_UDP },
{ "icmp", IPPROTO_ICMP },
+ { "esp", IPPROTO_ESP },
+ { "ah", IPPROTO_AH },
};
static void print_proto(u_int16_t proto, int invert)