From 5609ad736e4cbaf3cc44bf47964690ac204a3f3a Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 7 Feb 2012 18:35:48 +0000 Subject: firewall: don't filter IPv4 ICMP types (#10928) SVN-Revision: 30363 --- package/firewall/files/lib/fw.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'package/firewall/files') diff --git a/package/firewall/files/lib/fw.sh b/package/firewall/files/lib/fw.sh index 0814ffc315..76e294f568 100644 --- a/package/firewall/files/lib/fw.sh +++ b/package/firewall/files/lib/fw.sh @@ -275,10 +275,7 @@ fw_check_icmptype4() { export FW_ICMP4_TYPES=$( iptables -p icmp -h 2>/dev/null | \ sed -n -e '/^Valid ICMP Types:/ { - n; :r; - /router-advertisement/d; - /router-solicitation/d; - s/[()]/ /g; s/[[:space:]]\+/\n/g; p; n; b r + n; :r; s/[()]/ /g; s/[[:space:]]\+/\n/g; p; n; b r }' | sort -u ) -- cgit v1.2.3