aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort/snort.inc
diff options
context:
space:
mode:
authorbmeeks8 <bmeeks8@bellsouth.net>2014-10-09 14:53:06 -0400
committerbmeeks8 <bmeeks8@bellsouth.net>2014-10-09 14:53:06 -0400
commitae6a24bebebb1ca8675787cb7fff74e5b4a802d5 (patch)
tree5bdd8d0e820b4457288d38152cddaca01115a67f /config/snort/snort.inc
parent1682d08e3e80b36c8d4cae1cab27b70bee4d557f (diff)
downloadpfsense-packages-ae6a24bebebb1ca8675787cb7fff74e5b4a802d5.tar.gz
pfsense-packages-ae6a24bebebb1ca8675787cb7fff74e5b4a802d5.tar.bz2
pfsense-packages-ae6a24bebebb1ca8675787cb7fff74e5b4a802d5.zip
Wrap sync_snort_package_config() with conf_mount_rw() on sync target.
Diffstat (limited to 'config/snort/snort.inc')
-rwxr-xr-xconfig/snort/snort.inc2
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..."));