diff options
author | bmeeks8 <bmeeks8@bellsouth.net> | 2014-10-13 09:14:51 -0400 |
---|---|---|
committer | bmeeks8 <bmeeks8@bellsouth.net> | 2014-10-13 09:14:51 -0400 |
commit | 2b4295f49ddd4966885ad25e74732148ba2a7a2e (patch) | |
tree | 565df511e02326f7563340bf9831ef1002668585 /config | |
parent | ce524b763954723facf1353566e69d292b4279f7 (diff) | |
download | pfsense-packages-2b4295f49ddd4966885ad25e74732148ba2a7a2e.tar.gz pfsense-packages-2b4295f49ddd4966885ad25e74732148ba2a7a2e.tar.bz2 pfsense-packages-2b4295f49ddd4966885ad25e74732148ba2a7a2e.zip |
Fix var name typo reported by Phil Smith & quiet down rc script output.
Diffstat (limited to 'config')
-rwxr-xr-x | config/snort/snort.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/config/snort/snort.inc b/config/snort/snort.inc index e8fd4bbc..b2a6c376 100755 --- a/config/snort/snort.inc +++ b/config/snort/snort.inc @@ -357,7 +357,7 @@ function snort_build_list($snortcfg, $listname = "", $whitelist = false, $extern /* though, to prevent locking out the firewall itself. */ /********************************************************************/ $snortip = get_interface_ip($snortcfg['interface']); - if (($externallist && $localnet == 'yes') || (!$externallist && (!$whitelis || $localnet == 'yes' || empty($localnet)))) { + if (($externallist && $localnet == 'yes') || (!$externallist && (!$whitelist || $localnet == 'yes' || empty($localnet)))) { if (is_ipaddr($snortip)) { if ($snortcfg['interface'] <> "wan") { $sn = get_interface_subnet($snortcfg['interface']); @@ -2837,7 +2837,7 @@ function snort_create_rc() { fi if [ -z \$pid ]; then /usr/bin/logger -p daemon.info -i -t SnortStartup "Barnyard2 START for {$value['descr']}({$snort_uuid}_{$if_real})..." - /usr/local/bin/barnyard2 -r {$snort_uuid} -f snort_{$snort_uuid}_{$if_real}.u2 --pid-path {$g['varrun_path']} --nolock-pidfile -c {$snortdir}/snort_{$snort_uuid}_{$if_real}/barnyard2.conf -d {$snortlogdir}/snort_{$if_real}{$snort_uuid} -D -q + /usr/local/bin/barnyard2 -r {$snort_uuid} -f snort_{$snort_uuid}_{$if_real}.u2 --pid-path {$g['varrun_path']} --nolock-pidfile -c {$snortdir}/snort_{$snort_uuid}_{$if_real}/barnyard2.conf -d {$snortlogdir}/snort_{$if_real}{$snort_uuid} -D -q > /dev/null 2>&1 fi EOE; $stop_barnyard2 = <<<EOE @@ -2888,7 +2888,7 @@ EOE; if [ -z \$pid ]; then /usr/bin/logger -p daemon.info -i -t SnortStartup "Snort START for {$value['descr']}({$snort_uuid}_{$if_real})..." - /usr/local/bin/snort -R {$snort_uuid} -D -q -l {$snortlogdir}/snort_{$if_real}{$snort_uuid} --pid-path {$g['varrun_path']} --nolock-pidfile -G {$snort_uuid} -c {$snortdir}/snort_{$snort_uuid}_{$if_real}/snort.conf -i {$if_real} + /usr/local/bin/snort -R {$snort_uuid} -D -q -l {$snortlogdir}/snort_{$if_real}{$snort_uuid} --pid-path {$g['varrun_path']} --nolock-pidfile -G {$snort_uuid} -c {$snortdir}/snort_{$snort_uuid}_{$if_real}/snort.conf -i {$if_real} > /dev/null 2>&1 fi {$start_barnyard2} |