]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - config/suricata/convert-snort
Refactor "get_available_network_zones", move to network-functions.pl
[people/pmueller/ipfire-2.x.git] / config / suricata / convert-snort
index 3e938137efe3c06e21b9069f22bc756f017a90b2..7d75233b4fa29e5b40b8c468d1f7a6d982df36f2 100644 (file)
@@ -23,6 +23,7 @@ use strict;
 
 require '/var/ipfire/general-functions.pl';
 require "${General::swroot}/ids-functions.pl";
+require "${General::swroot}/network-functions.pl";
 
 # Snort settings file, which contains the settings from the WUI.
 my $snort_settings_file = "${General::swroot}/snort/settings";
@@ -129,7 +130,7 @@ my %rulessettings = (
 );
 
 # Get all available network zones.
-my @network_zones = &IDS::get_available_network_zones();
+my @network_zones = &Network::get_available_network_zones();
 
 # Read-in snort settings file.
 &General::readhash("$snort_settings_file", \%snortsettings);