diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-10-10 18:08:26 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-10-10 18:08:26 +0000 |
commit | 2ecfe91b617efe7cb7c015e5ee7f239a2f6adea4 (patch) | |
tree | 7d0278907042ec39f4e4d31f92fe9c84eae5a1a0 /package/firewall/files | |
parent | f8dfba9a0ae55da928ddc3500e315cf0838ffb36 (diff) | |
download | upstream-2ecfe91b617efe7cb7c015e5ee7f239a2f6adea4.tar.gz upstream-2ecfe91b617efe7cb7c015e5ee7f239a2f6adea4.tar.bz2 upstream-2ecfe91b617efe7cb7c015e5ee7f239a2f6adea4.zip |
firewall: do not process rules in reverse
SVN-Revision: 18015
Diffstat (limited to 'package/firewall/files')
-rwxr-xr-x | package/firewall/files/uci_firewall.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/firewall/files/uci_firewall.sh b/package/firewall/files/uci_firewall.sh index 3aa1f69c46..64e052fcb2 100755 --- a/package/firewall/files/uci_firewall.sh +++ b/package/firewall/files/uci_firewall.sh @@ -280,7 +280,7 @@ fw_rule() { [ -n "$src" -a -n "$dest" ] && ZONE=zone_${src}_forward [ -n "$dest" ] && TARGET=zone_${dest}_$target add_rule() { - $IPTABLES -I $ZONE 1 \ + $IPTABLES -A $ZONE \ ${proto:+-p $proto} \ ${icmp_type:+--icmp-type $icmp_type} \ ${src_ip:+-s $src_ip} \ |