diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-06-07 13:29:17 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-06-07 13:29:17 +0000 |
commit | a2d8fc3d2f994bff983c08014652fd3aee4d3431 (patch) | |
tree | d7e951e57ed4ec3e54a19a17b48409a84f0a75bb /applications | |
parent | d0a25be29e1a2db4e1364d4808aba19626134ed2 (diff) |
applications/luci-splash: use RETURN target for count rules
Diffstat (limited to 'applications')
-rwxr-xr-x | applications/luci-splash/root/usr/sbin/luci-splash | 2 |
1 files changed, 1 insertions, 1 deletions
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 |