Fix a small luci-splash issue
authorSteven Barth <steven@midlink.org>
Tue, 5 Aug 2008 14:14:42 +0000 (14:14 +0000)
committerSteven Barth <steven@midlink.org>
Tue, 5 Aug 2008 14:14:42 +0000 (14:14 +0000)
applications/luci-splash/root/etc/init.d/luci_splash

index 02fdd8b..ad1a8b1 100755 (executable)
@@ -10,7 +10,7 @@ iface_add() {
        config_get gw "$cfg" gateway
        [ -n "$gw" ] || return 0
        
-       iptables -t nat -A zone_$zone_prerouting -j luci_splash_portal
+       iptables -t nat -A zone_${zone}_prerouting -j luci_splash_portal
        
        for i in $gw
        do