summaryrefslogtreecommitdiff
path: root/src/build.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2010-07-01 17:38:07 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2010-07-01 17:38:07 +0200
commitc93ff79c70e1595af94abbadce685087f702c39b (patch)
tree12c1aaa5bf41e62803abaae2be0fa5fce85657aa /src/build.c
parent70018069df0397a738498dfacf3a6130f732f0bc (diff)
downloadconntrack-tools-c93ff79c70e1595af94abbadce685087f702c39b.tar.gz
conntrack-tools-c93ff79c70e1595af94abbadce685087f702c39b.zip
conntrackd: fix ICMPv6 support
This patch fixes several minor nitpicks to support IPv6 failover: * ICMPv6 type/code/id were missing in synchronization messages. * The use of '-' as string in the configuration file was not allowed. * Include example in configuration file under doc/. Reported-by: Mohit Mehta <mohit.mehta@vyatta.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/build.c')
-rw-r--r--src/build.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/build.c b/src/build.c
index a73476a..a495872 100644
--- a/src/build.c
+++ b/src/build.c
@@ -161,6 +161,7 @@ static struct build_l4proto {
[IPPROTO_SCTP] = { .build = build_l4proto_sctp },
[IPPROTO_DCCP] = { .build = build_l4proto_dccp },
[IPPROTO_ICMP] = { .build = build_l4proto_icmp },
+ [IPPROTO_ICMPV6] = { .build = build_l4proto_icmp },
[IPPROTO_UDP] = { .build = build_l4proto_udp },
};