]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
ipblocklist.cgi: Mark and display a notice about a required reload of
authorStefan Schantl <stefan.schantl@ipfire.org>
Sun, 6 Mar 2022 20:16:07 +0000 (21:16 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Thu, 7 Jul 2022 15:26:14 +0000 (17:26 +0200)
the firewall.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
html/cgi-bin/ipblocklist.cgi

index b4dd433afb6e58cdf51e78085bdbc030243fc297..1cd24b68e09057d9a66099467740d8486597acf3 100644 (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'}";
        }
 }