From 7da0f64c67394608a6bad70cd852448fe753488c Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sun, 8 Oct 2006 20:00:35 +0000 Subject: Change name to SnortAdvanced and do now whipe out primary tabs settings. --- packages/snort/snort.inc | 6 +++--- packages/snort/snort_advanced.xml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'packages/snort') diff --git a/packages/snort/snort.inc b/packages/snort/snort.inc index dda3be88..28134af6 100644 --- a/packages/snort/snort.inc +++ b/packages/snort/snort.inc @@ -46,9 +46,9 @@ function sync_package_snort() { global $config, $g; /* snort -> advanced features */ - $bpfbufsize = $config['installedpackages']['snort']['config'][0]['bpfbufsize']; - $bpfmaxbufsize = $config['installedpackages']['snort']['config'][0]['bpfmaxbufsize']; - $bpfmaxinsns = $config['installedpackages']['snort']['config'][0]['bpfmaxinsns']; + $bpfbufsize = $config['installedpackages']['snortadvanced']['config'][0]['bpfbufsize']; + $bpfmaxbufsize = $config['installedpackages']['snortadvanced']['config'][0]['bpfmaxbufsize']; + $bpfmaxinsns = $config['installedpackages']['snortadvanced']['config'][0]['bpfmaxinsns']; conf_mount_rw(); /* create a few directories and ensure the sample files are in place */ diff --git a/packages/snort/snort_advanced.xml b/packages/snort/snort_advanced.xml index 5fb4702c..104a7e3c 100644 --- a/packages/snort/snort_advanced.xml +++ b/packages/snort/snort_advanced.xml @@ -1,7 +1,7 @@ Services: Snort Advanced - Snort + SnortAdvanced /usr/local/pkg/snort.inc -- cgit v1.2.3