aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbmeeks8 <bmeeks8@bellsouth.net>2015-03-17 18:57:13 -0400
committerbmeeks8 <bmeeks8@bellsouth.net>2015-03-17 18:57:13 -0400
commit09c709ffc15c5cebd7439c33c6060aa86e8cc9de (patch)
treeaae1a8362f62822eb843c50ac343a4fbf7f059aa
parent8c7616c68ed07d6e53303c4a8d6dba2a50f7c98e (diff)
downloadpfsense-packages-09c709ffc15c5cebd7439c33c6060aa86e8cc9de.tar.gz
pfsense-packages-09c709ffc15c5cebd7439c33c6060aa86e8cc9de.tar.bz2
pfsense-packages-09c709ffc15c5cebd7439c33c6060aa86e8cc9de.zip
Need to trim trailing backslash off OpenAppID path.
-rw-r--r--config/snort/snort_generate_conf.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/snort/snort_generate_conf.php b/config/snort/snort_generate_conf.php
index 1d56fc13..297e833b 100644
--- a/config/snort/snort_generate_conf.php
+++ b/config/snort/snort_generate_conf.php
@@ -895,7 +895,7 @@ EOD;
/* def AppID preprocessor */
$appid_memcap = $snortcfg['sf_appid_mem_cap'] * 1024 * 1024;
-$appid_params = "app_detector_dir " . SNORT_APPID_ODP_PATH . ", \\\n\tmemcap {$appid_memcap}";
+$appid_params = "app_detector_dir " . rtrim(SNORT_APPID_ODP_PATH, '/') . ", \\\n\tmemcap {$appid_memcap}";
if ($snortcfg['sf_appid_statslog'] == "on") {
$appid_params .= ", \\\n\tapp_stats_filename app-stats.log";
$appid_params .= ", \\\n\tapp_stats_period {$snortcfg['sf_appid_stats_period']}";