diff options
author | Renato Botelho <renato@netgate.com> | 2015-08-28 08:41:24 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-08-28 08:41:24 -0300 |
commit | 9e1bc7c03db0ab96df5ad65ccee17511c4ed1fcf (patch) | |
tree | 36e7138d2c9ea90e53abc37f691a154fa72fa490 /config/snort | |
parent | d5bb311045aa655d04f22d032695f7bebccdd8f7 (diff) | |
parent | 7d53fbfbaa0c35aebf854b21abbc4a841d65372c (diff) | |
download | pfsense-packages-9e1bc7c03db0ab96df5ad65ccee17511c4ed1fcf.tar.gz pfsense-packages-9e1bc7c03db0ab96df5ad65ccee17511c4ed1fcf.tar.bz2 pfsense-packages-9e1bc7c03db0ab96df5ad65ccee17511c4ed1fcf.zip |
Merge pull request #979 from PiBa-NL/snort-3.2.6
Diffstat (limited to 'config/snort')
-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 fb8cd9d8..7b068f01 100755 --- a/config/snort/snort.inc +++ b/config/snort/snort.inc @@ -3757,8 +3757,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']; |