From 8d951440e518e6292aad1c089a0e336cdd30bc96 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Tue, 27 May 2008 19:45:26 +0200 Subject: define ICMPV6_NI_QUERY and ICMPV6_NI_REPLY if not set --- src/conntrack/setter.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/conntrack/setter.c b/src/conntrack/setter.c index 53698bf..6ceab46 100644 --- a/src/conntrack/setter.c +++ b/src/conntrack/setter.c @@ -20,6 +20,14 @@ static const u_int8_t invmap_icmp[] = { [ICMP_ADDRESSREPLY] = ICMP_ADDRESS + 1 }; +#ifndef ICMPV6_NI_QUERY +#define ICMPV6_NI_QUERY 139 +#endif + +#ifndef ICMPV6_NI_REPLY +#define ICMPV6_NI_REPLY 140 +#endif + static u_int8_t invmap_icmpv6[] = { [ICMPV6_ECHO_REQUEST - 128] = ICMPV6_ECHO_REPLY + 1, [ICMPV6_ECHO_REPLY - 128] = ICMPV6_ECHO_REQUEST + 1, -- cgit v1.2.3