From a2d8fc3d2f994bff983c08014652fd3aee4d3431 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 7 Jun 2009 13:29:17 +0000 Subject: applications/luci-splash: use RETURN target for count rules --- applications/luci-splash/root/usr/sbin/luci-splash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'applications/luci-splash/root') diff --git a/applications/luci-splash/root/usr/sbin/luci-splash b/applications/luci-splash/root/usr/sbin/luci-splash index d12b9f3a3..3f6356a9b 100755 --- a/applications/luci-splash/root/usr/sbin/luci-splash +++ b/applications/luci-splash/root/usr/sbin/luci-splash @@ -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 -- cgit v1.2.3