aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2012-07-10 06:42:13 +0000
committerErmal <eri@pfsense.org>2012-07-10 06:42:13 +0000
commit5a1ea395aaf9e113a6792038d292403b82057222 (patch)
tree93f31c68ebdc769bb80ba88e676448538caa29f6
parentbfbab2aca5e5d5bd41589e78f7efcdd465093b7d (diff)
downloadpfsense-packages-5a1ea395aaf9e113a6792038d292403b82057222.tar.gz
pfsense-packages-5a1ea395aaf9e113a6792038d292403b82057222.tar.bz2
pfsense-packages-5a1ea395aaf9e113a6792038d292403b82057222.zip
Remove some fallout from making snort path global
-rw-r--r--config/snort/snort.inc7
1 files changed, 3 insertions, 4 deletions
diff --git a/config/snort/snort.inc b/config/snort/snort.inc
index 535bb0ea..4a97d21b 100644
--- a/config/snort/snort.inc
+++ b/config/snort/snort.inc
@@ -344,8 +344,7 @@ function snort_get_real_interface($interface) {
by touch and rm, snort will lose sync and not log.
*/
-function snort_post_delete_logs($snort_uuid = 0)
-{
+function snort_post_delete_logs($snort_uuid = 0) {
global $config, $g;
/* do not start config build if rules is empty */
@@ -1552,7 +1551,7 @@ EOD;
#
#################
-preprocessor http_inspect: global {$snortdir}, iis_unicode_map unicode.map 1252 compress_depth 65535 decompress_depth 65535
+preprocessor http_inspect: global iis_unicode_map unicode.map 1252 compress_depth 65535 decompress_depth 65535
preprocessor http_inspect_server: server default \
ports { 80 8080 } \
@@ -1611,7 +1610,7 @@ EOD;
#
#####################
-preprocessor ftp_telnet: global {$snortdir}, \
+preprocessor ftp_telnet: global \
inspection_type stateless
preprocessor ftp_telnet_protocol: telnet \