[package] firewall: don't filter IPv4 ICMP types (#10928)
[openwrt.git] / package / firewall / files / lib / fw.sh
index 0814ffc..76e294f 100644 (file)
@@ -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
                )
 
This page took 0.024974 seconds and 4 git commands to generate.