From 2ecfe91b617efe7cb7c015e5ee7f239a2f6adea4 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 10 Oct 2009 18:08:26 +0000 Subject: [PATCH] firewall: do not process rules in reverse SVN-Revision: 18015 --- package/firewall/files/uci_firewall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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} \