diff options
-rwxr-xr-x | config/snort/snort.inc | 2 |
1 files changed, 2 insertions, 0 deletions
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...")); |