aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/config/firewall/files/lib/fw.sh
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2013-02-04 14:38:33 +0000
committerJo-Philipp Wich <jow@openwrt.org>2013-02-04 14:38:33 +0000
commite106f25ee74804478470a075cf7181bd995b9c33 (patch)
treed9160d4a882b4eae2cc6533f5ff0b5727942c450 /package/network/config/firewall/files/lib/fw.sh
parent8506964e6d6f89ae67951d0eafe4717b63b1f610 (diff)
downloadupstream-e106f25ee74804478470a075cf7181bd995b9c33.tar.gz
upstream-e106f25ee74804478470a075cf7181bd995b9c33.tar.bz2
upstream-e106f25ee74804478470a075cf7181bd995b9c33.zip
firewall: various enhancements
- reduce mssfix related log spam (#10681) - separate src and dest terminal chains (#11453, #12945) - disable per-zone custom chains by default, they're rarely used Additionally introduce options "device", "subnet", "extra", "extra_src" and "extra_dest" to allow defining zones not related to uci interfaces, e.g. to match "ppp+" or any tcp traffic to and from a specific port. SVN-Revision: 35484
Diffstat (limited to 'package/network/config/firewall/files/lib/fw.sh')
-rw-r--r--package/network/config/firewall/files/lib/fw.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/config/firewall/files/lib/fw.sh b/package/network/config/firewall/files/lib/fw.sh
index 76e294f568..ca851e81c0 100644
--- a/package/network/config/firewall/files/lib/fw.sh
+++ b/package/network/config/firewall/files/lib/fw.sh
@@ -170,7 +170,7 @@ fw__exec() { # <action> <family> <table> <chain> <target> <position> { <rules> }
fw_log info "ICMP type '$2' is not valid for $fam address family, skipping rule"
return 1
fi
- shift
+ shift
;;
*) cmdline="$cmdline $1" ;;
esac