ipblocklist.cgi: Mark and display a notice about a required reload of

the firewall.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
This commit is contained in:
Stefan Schantl
2022-03-06 21:16:07 +01:00
parent a72c2458c4
commit 3b114903aa

View File

@@ -118,7 +118,11 @@ if ($cgiparams{'ACTION'} eq "$Lang::tr{'save'}") {
# Write configuration hash.
&General::writehash($settings, \%cgiparams);
# XXX display firewall reload stuff
# Call function to mark a required reload of the firewall.
&General::firewall_config_changed();
# Display notice about a required reload of the firewall.
$errormessage = "$Lang::tr{'p2p block save notice'}";
}
}