summaryrefslogtreecommitdiff
path: root/package/firewall/files/lib
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-02-07 18:35:48 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-02-07 18:35:48 +0000
commit5609ad736e4cbaf3cc44bf47964690ac204a3f3a (patch)
tree861264fdf788eb4204f05d707dfc5d0f00c15b53 /package/firewall/files/lib
parenta543eeb0aa5b775eced7ca5f85aaa20a2d243065 (diff)
downloadmtk-20170518-5609ad736e4cbaf3cc44bf47964690ac204a3f3a.zip
mtk-20170518-5609ad736e4cbaf3cc44bf47964690ac204a3f3a.tar.gz
mtk-20170518-5609ad736e4cbaf3cc44bf47964690ac204a3f3a.tar.bz2
firewall: don't filter IPv4 ICMP types (#10928)
SVN-Revision: 30363
Diffstat (limited to 'package/firewall/files/lib')
-rw-r--r--package/firewall/files/lib/fw.sh5
1 files changed, 1 insertions, 4 deletions
diff --git a/package/firewall/files/lib/fw.sh b/package/firewall/files/lib/fw.sh
index 0814ffc..76e294f 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
)