From 2cc301c282ec3617e909b4ccc0f266cc759c1ebd Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Fri, 18 Apr 2014 14:07:53 +0100 Subject: [PATCH] icmp.m4: Actually track the correct ICMPv6 protocol. Silly program thinks that `icmp' on IPv6 doesn't mean the same as `icmpv6'. --- icmp.m4 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/icmp.m4 b/icmp.m4 index 93c2973..3ccc6d9 100644 --- a/icmp.m4 +++ b/icmp.m4 @@ -38,7 +38,10 @@ m4_divert(58)m4_dnl run ip46tables -A check-icmp -j ACCEPT ## Done. -for i in $inchains; do run ip46tables -A $i -p icmp -j check-icmp; done +for i in $inchains; do + run iptables -A $i -p icmp -j check-icmp + run ip6tables -A $i -p icmpv6 -j check-icmp +done m4_divert(-1) ###----- That's all, folks -------------------------------------------------- -- 2.11.0