aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-01-19 04:42:37 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-01-19 04:42:37 +0000
commit7dc2b787ba8f5380774a00d10a0c75a4005f01be (patch)
treef4012b0e37f0fc80c5b565b6557f9e0c6dd58533
parent43a916cef337dfed5f31326603659dcf3e39377e (diff)
downloadpfsense-packages-7dc2b787ba8f5380774a00d10a0c75a4005f01be.tar.gz
pfsense-packages-7dc2b787ba8f5380774a00d10a0c75a4005f01be.tar.bz2
pfsense-packages-7dc2b787ba8f5380774a00d10a0c75a4005f01be.zip
s/=/==/
Ticket #1208
-rw-r--r--packages/snort/snort.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/snort/snort.inc b/packages/snort/snort.inc
index 1b49b87b..3549a12c 100644
--- a/packages/snort/snort.inc
+++ b/packages/snort/snort.inc
@@ -224,7 +224,7 @@ function generate_snort_conf() {
$ifcfg = &$config['interfaces'][$int];
$subnet = gen_subnet($ifcfg['ipaddr'], $ifcfg['subnet']);
$subnetmask = gen_subnet_mask($ifcfg['subnet']);
- if($subnet == "pppoe" or $subnet = "dhcp") {
+ if($subnet == "pppoe" or $subnet == "dhcp") {
$subnet = find_interface_ip("ng0");
if($subnet)
$home_net .= "{$subnet} ";