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 02fdd8b6a58cd080e6571a8c616230f9e05de414..ad1a8b1071e068352c330af04e8e00599e57d86e 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