aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort/snort_check_for_rule_updates.php
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2015-04-24 09:38:24 -0300
committerRenato Botelho <garga@FreeBSD.org>2015-04-24 09:38:24 -0300
commit9ef01b709e3779e344e8387dfd7a90f21b5ff922 (patch)
tree6e85b55ac02169bc7473e464c6a5f783792a5d6b /config/snort/snort_check_for_rule_updates.php
parent411ac565d7267970dfa6f5ee7952f6e713490e6f (diff)
downloadpfsense-packages-9ef01b709e3779e344e8387dfd7a90f21b5ff922.tar.gz
pfsense-packages-9ef01b709e3779e344e8387dfd7a90f21b5ff922.tar.bz2
pfsense-packages-9ef01b709e3779e344e8387dfd7a90f21b5ff922.zip
Use macros defined in snort_defs.inc
Diffstat (limited to 'config/snort/snort_check_for_rule_updates.php')
-rwxr-xr-xconfig/snort/snort_check_for_rule_updates.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/snort/snort_check_for_rule_updates.php b/config/snort/snort_check_for_rule_updates.php
index 3106cb7b..842e39d5 100755
--- a/config/snort/snort_check_for_rule_updates.php
+++ b/config/snort/snort_check_for_rule_updates.php
@@ -38,7 +38,7 @@ require("/usr/local/pkg/snort/snort_defs.inc");
global $g, $config, $pkg_interface, $snort_gui_include, $rebuild_rules;
$snortdir = SNORTDIR;
-$snortlibdir = "/usr/pbi/snort-" . php_uname("m") . "/lib";
+$snortlibdir = SNORT_PBI_BASEDIR . "lib";
$snortlogdir = SNORTLOGDIR;
$snortiprepdir = SNORT_IPREP_PATH;
$snortbindir = SNORT_PBI_BINDIR;