From: Jo-Philipp Wich Date: Tue, 7 Feb 2012 18:35:48 +0000 (+0000) Subject: [package] firewall: don't filter IPv4 ICMP types (#10928) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0c2be7c900ebcfc30c66b99cd4429a981afa7d2d;p=openwrt%2Fsvn-archive%2Farchive.git [package] firewall: don't filter IPv4 ICMP types (#10928) SVN-Revision: 30363 --- diff --git a/package/firewall/Makefile b/package/firewall/Makefile index 746cca4882..978154b3f7 100644 --- a/package/firewall/Makefile +++ b/package/firewall/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=firewall PKG_VERSION:=2 -PKG_RELEASE:=44 +PKG_RELEASE:=45 include $(INCLUDE_DIR)/package.mk 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 )