mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-14 04:52:59 +02:00
captive portal: Reload firewall rules after cleanup
This is not necessary to stop any clients from accessing the Internet, but if we know that we don't need a line for certain any more, we can as well remove the firewall rule straight away. Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -46,4 +46,7 @@ if (-f $settingsfile && -f $clients && ! -z $clients){
|
||||
}
|
||||
}
|
||||
&General::writehasharray("$clients", \%clientshash);
|
||||
|
||||
# Reload firewall rules
|
||||
system("/usr/local/bin/captivectrl");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user