diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/network/drakfirewall.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/network/drakfirewall.pm b/lib/network/drakfirewall.pm index 5051eb6..c20ce44 100644 --- a/lib/network/drakfirewall.pm +++ b/lib/network/drakfirewall.pm @@ -283,7 +283,9 @@ sub main { ($disabled, $servers, $unlisted, $log_net_drop) = choose_allowed_services($in, $disabled, $servers, $unlisted, $log_net_drop) or return; - choose_watched_services($in, $servers, $unlisted) unless $disabled; + if (!$disabled) { + choose_watched_services($in, $servers, $unlisted) or return; + } my $ports = to_ports($servers, $unlisted); set_ports($in->do_pkgs, $disabled, $ports, $log_net_drop, $in) or return; |