local.m4: Allow IPv6 ping separately.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 11 May 2015 02:28:16 +0000 (03:28 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 11 May 2015 02:28:16 +0000 (03:28 +0100)
This seems to have broken recently.

local.m4

index 45bdfac..aeda659 100644 (file)
--- a/local.m4
+++ b/local.m4
@@ -360,7 +360,8 @@ run iptables -A inbound -j ACCEPT \
        -p udp --source-port $port_bootpc --destination-port $port_bootps
 
 ## Allow incoming ping.  This is the only ICMP left.
        -p udp --source-port $port_bootpc --destination-port $port_bootps
 
 ## Allow incoming ping.  This is the only ICMP left.
-run ip46tables -A inbound -j ACCEPT -p icmp
+run iptables -A inbound -j ACCEPT -p icmp
+run ip6tables -A inbound -j ACCEPT -p icmpv6
 
 m4_divert(88)m4_dnl
 ## Allow unusual things.
 
 m4_divert(88)m4_dnl
 ## Allow unusual things.