replace br0 with $LAN
authorFelix Fietkau <nbd@openwrt.org>
Thu, 9 Nov 2006 23:13:15 +0000 (23:13 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 9 Nov 2006 23:13:15 +0000 (23:13 +0000)
SVN-Revision: 5492

package/iptables/files/firewall.init

index 04b37bdc4cf4e08027183e84c4e3637f148c2dd3..6f1ba8b156f0dda07a6ab140c366606529915968 100755 (executable)
@@ -87,7 +87,7 @@ start() {
        iptables -A FORWARD -j forwarding_rule
        
        # allow
-       iptables -A FORWARD -i br0 -o br0 -j ACCEPT
+       iptables -A FORWARD -i $LAN -o $LAN -j ACCEPT
        [ -z "$WAN" ] || iptables -A FORWARD -i $LAN -o $WAN -j ACCEPT
        
        # reject (what to do with anything not allowed earlier)