Changeset 30363


Ignore:
Timestamp:
2012-02-07T19:35:48+01:00 (6 years ago)
Author:
jow
Message:

[package] firewall: don't filter IPv4 ICMP types (#10928)

Location:
trunk/package/firewall
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/firewall/Makefile

    r29687 r30363  
    1010 
    1111PKG_VERSION:=2 
    12 PKG_RELEASE:=44 
     12PKG_RELEASE:=45 
    1313 
    1414include $(INCLUDE_DIR)/package.mk 
  • trunk/package/firewall/files/lib/fw.sh

    r28628 r30363  
    276276                        iptables -p icmp -h 2>/dev/null | \ 
    277277                        sed -n -e '/^Valid ICMP Types:/ { 
    278                                 n; :r; 
    279                                 /router-advertisement/d; 
    280                                 /router-solicitation/d; 
    281                                 s/[()]/ /g; s/[[:space:]]\+/\n/g; p; n; b r 
     278                                n; :r; s/[()]/ /g; s/[[:space:]]\+/\n/g; p; n; b r 
    282279                        }' | sort -u 
    283280                ) 
Note: See TracChangeset for help on using the changeset viewer.