summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/drakguard2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/drakguard b/bin/drakguard
index 3f47167..8552b69 100755
--- a/bin/drakguard
+++ b/bin/drakguard
@@ -232,6 +232,8 @@ sub save() {
$_->{apply}(map { $_->[0] } @{$_->{list}{data}}) foreach @url_lists;
write_dansguardian();
enable_transparent_proxy($proxy_port);
+ #- reload shorewall config if it has just been installed
+ $shorewall ||= network::shorewall::read();
}
services::set_status($_, $enable) foreach qw(squid dansguardian);