diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-01-19 04:42:37 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-01-19 04:42:37 +0000 |
commit | 7dc2b787ba8f5380774a00d10a0c75a4005f01be (patch) | |
tree | f4012b0e37f0fc80c5b565b6557f9e0c6dd58533 | |
parent | 43a916cef337dfed5f31326603659dcf3e39377e (diff) | |
download | pfsense-packages-7dc2b787ba8f5380774a00d10a0c75a4005f01be.tar.gz pfsense-packages-7dc2b787ba8f5380774a00d10a0c75a4005f01be.tar.bz2 pfsense-packages-7dc2b787ba8f5380774a00d10a0c75a4005f01be.zip |
s/=/==/
Ticket #1208
-rw-r--r-- | packages/snort/snort.inc | 2 |
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} "; |