mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
captive: Fix another typo in captivectrl
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user