diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/snort/snort_xmlrpc_sync.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/snort/snort_xmlrpc_sync.php b/packages/snort/snort_xmlrpc_sync.php index 89a7065d..aaef83a8 100644 --- a/packages/snort/snort_xmlrpc_sync.php +++ b/packages/snort/snort_xmlrpc_sync.php @@ -50,6 +50,9 @@ function snort_do_xmlrpc_sync() { $carp = &$config['installedpackages']['carpsettings']['config'][0]; $password = $carp['password']; + if(!$carp['synchronizetoip']) + return; + log_error("[SNORT] snort_xmlrpc_sync.php is starting."); $xmlrpc_sync_neighbor = $carp['synchronizetoip']; if($config['system']['webgui']['protocol'] != "") { |