aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2011-09-01 20:02:42 +0000
committerErmal <eri@pfsense.org>2011-09-01 20:02:42 +0000
commitf23f264ae6430e0a19c8624777eba2dad393b2b4 (patch)
tree2ddbee6d1277465e5bd6fc0e3510dd67c733a7b5 /config/snort
parent869fb3e30bf1fee096c4fe3bf9e8a421013a1191 (diff)
downloadpfsense-packages-f23f264ae6430e0a19c8624777eba2dad393b2b4.tar.gz
pfsense-packages-f23f264ae6430e0a19c8624777eba2dad393b2b4.tar.bz2
pfsense-packages-f23f264ae6430e0a19c8624777eba2dad393b2b4.zip
Correct code to do testing and not assigning
Diffstat (limited to 'config/snort')
-rw-r--r--config/snort/snort.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/snort/snort.inc b/config/snort/snort.inc
index 82cfcfd6..315dfc44 100644
--- a/config/snort/snort.inc
+++ b/config/snort/snort.inc
@@ -61,7 +61,7 @@ $snort_freebsd_ver = $snort_freebsd_ver[0];
$snort_arch_ck = php_uname("m");
if ($snort_arch_ck == 'i386')
$snort_arch = 'x86';
-else if ($snort_arch_ck = "amd64")
+else if ($snort_arch_ck == "amd64")
$snort_arch = 'x64';
else
$snort_arch = "Unknown";