diff options
author | Rusty Russell <rusty@linuxcare.com.au> | 2000-12-19 04:45:23 +0000 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2000-12-19 04:45:23 +0000 |
commit | a3e6aaa5371937420dd44949d840d19726998abc (patch) | |
tree | 9680caa1c7023e9356a824032d95802e99899a0d /iptables.c | |
parent | 8e07bd78ade5e2b4636d410a897119e111ea3e6c (diff) |
Define IPPROTO_ESP and IPPROTO_AH in case of primitive headers.
Diffstat (limited to 'iptables.c')
-rw-r--r-- | iptables.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -196,6 +196,14 @@ struct pprot { u_int8_t num; }; +/* Primitive headers... */ +#ifndef IPPROTO_ESP +#define IPPROTO_ESP 50 +#endif +#ifndef IPPROTO_AH +#define IPPROTO_AH 51 +#endif + static const struct pprot chain_protos[] = { { "tcp", IPPROTO_TCP }, { "udp", IPPROTO_UDP }, |