diff options
author | PiBa-NL <pba_2k3@yahoo.com> | 2015-08-10 22:47:29 +0200 |
---|---|---|
committer | PiBa-NL <pba_2k3@yahoo.com> | 2015-08-10 22:49:01 +0200 |
commit | 7d53fbfbaa0c35aebf854b21abbc4a841d65372c (patch) | |
tree | 6213a4a5d85143f229f7d222a27d7a3f769ddd0a /config | |
parent | 268764e87ab8d2371542d8676f3bec3a4d436ce4 (diff) | |
download | pfsense-packages-7d53fbfbaa0c35aebf854b21abbc4a841d65372c.tar.gz pfsense-packages-7d53fbfbaa0c35aebf854b21abbc4a841d65372c.tar.bz2 pfsense-packages-7d53fbfbaa0c35aebf854b21abbc4a841d65372c.zip |
snort, fix config-sync to 'system backup server'
Diffstat (limited to 'config')
-rwxr-xr-x | config/snort/snort.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/snort/snort.inc b/config/snort/snort.inc index 027207b1..0e4881aa 100755 --- a/config/snort/snort.inc +++ b/config/snort/snort.inc @@ -3761,8 +3761,8 @@ function snort_sync_on_changes() { } break; case "auto": - if (is_array($config['installedpackages']['carpsettings']) && is_array($config['installedpackages']['carpsettings']['config'])){ - $system_carp=$config['installedpackages']['carpsettings']['config'][0]; + if (is_array($config['hasync'])) { + $system_carp=$config['hasync']; $rs[0]['varsyncipaddress']=$system_carp['synchronizetoip']; $rs[0]['varsyncusername']=$system_carp['username']; $rs[0]['varsyncpassword']=$system_carp['password']; |