summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-splash/root/usr
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-06-07 13:29:17 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-06-07 13:29:17 +0000
commita2d8fc3d2f994bff983c08014652fd3aee4d3431 (patch)
treed7e951e57ed4ec3e54a19a17b48409a84f0a75bb /applications/luci-splash/root/usr
parentd0a25be29e1a2db4e1364d4808aba19626134ed2 (diff)
applications/luci-splash: use RETURN target for count rules
Diffstat (limited to 'applications/luci-splash/root/usr')
-rwxr-xr-xapplications/luci-splash/root/usr/sbin/luci-splash2
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 d12b9f3a33..3f6356a9b3 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