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:
Michael Tremer
2017-10-05 12:09:58 +02:00
parent 9c83954567
commit cb40ff6027

View File

@@ -46,4 +46,7 @@ if (-f $settingsfile && -f $clients && ! -z $clients){
}
}
&General::writehasharray("$clients", \%clientshash);
# Reload firewall rules
system("/usr/local/bin/captivectrl");
}