From 716c1e70b3fd7c1a9bae1dae2dbb975e140851d0 Mon Sep 17 00:00:00 2001 From: bmeeks8 Date: Thu, 16 Oct 2014 20:22:22 -0400 Subject: Fix typo in variable name. --- config/snort/snort.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/snort') diff --git a/config/snort/snort.inc b/config/snort/snort.inc index b2a6c376..3a384dee 100755 --- a/config/snort/snort.inc +++ b/config/snort/snort.inc @@ -406,7 +406,7 @@ function snort_build_list($snortcfg, $listname = "", $whitelist = false, $extern $home_net[] = $snortip; } - if (($$externallist && $localnet == 'yes') || (!$externallist && (!$whitelist || $localnet == 'yes' || empty($localnet)))) { + if (($externallist && $localnet == 'yes') || (!$externallist && (!$whitelist || $localnet == 'yes' || empty($localnet)))) { /*************************************************************************/ /* Iterate through the interface list and write out whitelist items and */ /* also compile a HOME_NET list of all the local interfaces for snort. */ -- cgit v1.2.3