summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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 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