luci-0.8: merge r4783
This commit is contained in:
parent
6f9723640b
commit
249e236ab7
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue