]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
convert-snort: Fix ownership of the generated homenet file.
authorStefan Schantl <stefan.schantl@ipfire.org>
Tue, 23 Apr 2019 18:33:02 +0000 (20:33 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Tue, 23 Apr 2019 20:05:43 +0000 (22:05 +0200)
Fixes #12059.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/suricata/convert-snort

index 0ad2942b13ddded97ca829f42209ddd1ecd8ed6d..83931fa5b984b7a70f9073d2f361a812e28a62f1 100644 (file)
@@ -259,6 +259,9 @@ if (-f $IDS::rulestarball) {
 # Call subfunction to generate the file.
 &IDS::generate_home_net_file();
 
 # Call subfunction to generate the file.
 &IDS::generate_home_net_file();
 
+# Set correct ownership for the homenet file.
+&IDS::set_ownership("$IDS::homenet_file");
+
 #
 ## Step 9: Setup automatic ruleset updates.
 #
 #
 ## Step 9: Setup automatic ruleset updates.
 #