diff options
-rw-r--r-- | packages/snort/snort.inc | 6 | ||||
-rw-r--r-- | packages/snort/snort_advanced.xml | 2 |
2 files changed, 4 insertions, 4 deletions
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 @@ <?xml version="1.0" encoding="utf-8" ?> <packagegui> <title>Services: Snort Advanced</title> - <name>Snort</name> + <name>SnortAdvanced</name> <include_file>/usr/local/pkg/snort.inc</include_file> <tabs> <tab> |