From: Jo-Philipp Wich Date: Sun, 7 Jun 2009 13:29:17 +0000 (+0000) Subject: applications/luci-splash: use RETURN target for count rules X-Git-Tag: 0.9.0~240 X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=a2d8fc3d2f994bff983c08014652fd3aee4d3431;hp=d0a25be29e1a2db4e1364d4808aba19626134ed2 applications/luci-splash: use RETURN target for count rules --- 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