mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
guardian.cgi: Allways read-in settings.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
This commit is contained in:
@@ -249,12 +249,10 @@ if ($settings{'ACTION'} eq $Lang::tr{'save'}) {
|
||||
|
||||
# Call helper to flush iptables chain from guardian.
|
||||
system("/usr/local/bin/guardianctrl flush-chain &>/dev/null");
|
||||
|
||||
} else {
|
||||
# Load settings from file.
|
||||
&General::readhash("${General::swroot}/guardian/settings", \%settings);
|
||||
}
|
||||
|
||||
# Load settings from file.
|
||||
&General::readhash("${General::swroot}/guardian/settings", \%settings);
|
||||
|
||||
# Call functions to generate whole page.
|
||||
&showMainBox();
|
||||
|
||||
Reference in New Issue
Block a user