summaryrefslogtreecommitdiffstats
path: root/lib/network/shorewall.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/network/shorewall.pm')
-rw-r--r--lib/network/shorewall.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/network/shorewall.pm b/lib/network/shorewall.pm
index a032587..aa286e7 100644
--- a/lib/network/shorewall.pm
+++ b/lib/network/shorewall.pm
@@ -108,6 +108,7 @@ sub read {
my ($o_in) = @_;
#- read old rules file if config is not moved to rules.drakx yet
my @rules = get_config_file(-f "$::prefix${shorewall_root}/rules.drakx" ? 'rules.drakx' : 'rules');
+ require services;
my %conf = (disabled => services::is_service_running(shorewall),
ports => join(' ', map {
my $e = $_;