summaryrefslogtreecommitdiffstats
path: root/iptables-save.c
diff options
context:
space:
mode:
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 c66554d..f648efa 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)