From 6182d79552fa9af10a82e24b7b6709918dd2266c Mon Sep 17 00:00:00 2001 From: Eugeni Dodonov Date: Wed, 17 Dec 2008 14:20:43 +0000 Subject: Reverted commit 247997 (#46256). --- lib/network/drakfirewall.pm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lib/network') diff --git a/lib/network/drakfirewall.pm b/lib/network/drakfirewall.pm index c20ce44..5051eb6 100644 --- a/lib/network/drakfirewall.pm +++ b/lib/network/drakfirewall.pm @@ -283,9 +283,7 @@ sub main { ($disabled, $servers, $unlisted, $log_net_drop) = choose_allowed_services($in, $disabled, $servers, $unlisted, $log_net_drop) or return; - if (!$disabled) { - choose_watched_services($in, $servers, $unlisted) or return; - } + choose_watched_services($in, $servers, $unlisted) unless $disabled; my $ports = to_ports($servers, $unlisted); set_ports($in->do_pkgs, $disabled, $ports, $log_net_drop, $in) or return; -- cgit v1.2.1