captive: Fix another typo in captivectrl

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2017-05-02 11:04:06 +01:00
parent 94e1d35c54
commit 5511fa319a

View File

@@ -262,7 +262,7 @@ static int add_interface_rule(const char* intf, int allow_webif_access) {
// Allow access to captive portal site
snprintf(command, sizeof(command), IPTABLES " -A CAPTIVE_PORTAL_CLIENTS"
" -d %s -p tcp --dport %d -j RETURN", intf, REDIRECT_PORT);
" -i %s -p tcp --dport %d -j RETURN", intf, REDIRECT_PORT);
r = safe_system(command);
if (r)
return r;