projects
/
project
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f97236
)
luci-0.8: merge r4783
author
Jo-Philipp Wich
<jow@openwrt.org>
Sun, 7 Jun 2009 13:30:02 +0000
(13:30 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Sun, 7 Jun 2009 13:30:02 +0000
(13:30 +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 c1ee01fb6d27eec461dd7fe573eb526b3402b3fb..a690c03942d6dadd90b75a0a0d1ef5bb3a10687f 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