diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-10-10 18:08:26 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-10-10 18:08:26 +0000 |
commit | 71394ccb5e8adc47f44414e5e2b5f354829d7f68 (patch) | |
tree | a7d80758d7930d87224a2ac3e263477c7f10a53e /package/firewall/files | |
parent | c0d7c71e534a7c0746a3176a2f6a469cdd49e0ab (diff) |
firewall: do not process rules in reverse
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18015 3c298f89-4303-0410-b956-a3cf2f4a3e73
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} \ |