From 99cd16a806d6adcd412a3504ae107c6dd8bb3b9d Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Sun, 6 Mar 2022 21:16:07 +0100 Subject: [PATCH] ipblocklist.cgi: Mark and display a notice about a required reload of the firewall. Signed-off-by: Stefan Schantl --- html/cgi-bin/ipblocklist.cgi | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/html/cgi-bin/ipblocklist.cgi b/html/cgi-bin/ipblocklist.cgi index b4dd433afb..1cd24b68e0 100644 --- a/html/cgi-bin/ipblocklist.cgi +++ b/html/cgi-bin/ipblocklist.cgi @@ -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'}"; } } -- 2.39.5