From ae6a24bebebb1ca8675787cb7fff74e5b4a802d5 Mon Sep 17 00:00:00 2001 From: bmeeks8 Date: Thu, 9 Oct 2014 14:53:06 -0400 Subject: Wrap sync_snort_package_config() with conf_mount_rw() on sync target. --- config/snort/snort.inc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'config/snort') diff --git a/config/snort/snort.inc b/config/snort/snort.inc index 852b9af3..8837bf99 100755 --- a/config/snort/snort.inc +++ b/config/snort/snort.inc @@ -3882,7 +3882,9 @@ function snort_do_xmlrpc_sync($syncdownloadrules, $sync_to_ip, $port, $username, unset(\$g["snort_postinstall"]); log_error(gettext("[snort] XMLRPC pkg sync: Generating snort.conf file using Master Host settings...")); \$rebuild_rules = true; + conf_mount_rw(); sync_snort_package_config(); + conf_mount_ro(); \$rebuild_rules = false; {$snortstart} log_error(gettext("[snort] XMLRPC pkg sync process on this host is complete...")); -- cgit v1.2.3