firewall: do not process rules in reverse
[openwrt.git] / package / firewall / files / uci_firewall.sh
index 3aa1f69..64e052f 100755 (executable)
@@ -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} \
This page took 0.029788 seconds and 4 git commands to generate.