projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0a25be
)
applications/luci-splash: use RETURN target for count rules
author
Jo-Philipp Wich
<jow@openwrt.org>
Sun, 7 Jun 2009 13:29:17 +0000
(13:29 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Sun, 7 Jun 2009 13:29:17 +0000
(13:29 +0000)
applications/luci-splash/root/usr/sbin/luci-splash
patch
|
blob
|
history
diff --git
a/applications/luci-splash/root/usr/sbin/luci-splash
b/applications/luci-splash/root/usr/sbin/luci-splash
index d12b9f3a337eef7434fd403cc0b09346598b1c0f..3f6356a9b3bae26703b7d018ba6ab0e27add2f0f 100755
(executable)
--- 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