applications/luci-splash: use RETURN target for count rules
[project/luci.git] / applications / luci-splash / root / usr / sbin / luci-splash
index d12b9f3..3f6356a 100755 (executable)
@@ -75,7 +75,7 @@ end
 
 -- Add an iptables rule
 function add_rule(mac)
-       os.execute("iptables -I luci_splash_counter -m mac --mac-source '"..mac.."'")
+       os.execute("iptables -I luci_splash_counter -m mac --mac-source '"..mac.."' -j RETURN")
        return os.execute("iptables -t nat -I luci_splash_leases -m mac --mac-source '"..mac.."' -j RETURN")
 end