convert-snort: Fix ownership of the generated homenet file.

Fixes #12059.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Stefan Schantl
2019-04-23 20:33:02 +02:00
committed by Michael Tremer
parent 6088176639
commit 25d424387e

View File

@@ -259,6 +259,9 @@ if (-f $IDS::rulestarball) {
# 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.
#