projects
/
openwrt-10.03
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[backfire] firewall: merge r30363
[openwrt-10.03/.git]
/
package
/
firewall
/
files
/
lib
/
fw.sh
diff --git
a/package/firewall/files/lib/fw.sh
b/package/firewall/files/lib/fw.sh
index 0814ffc315506ac2ea7a3f231a813f80ad6605fe..76e294f5683ce226304cf376dad852a16aacbaf1 100644
(file)
--- 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:/ {
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
)
}' | sort -u
)