From 7dc2b787ba8f5380774a00d10a0c75a4005f01be Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Fri, 19 Jan 2007 04:42:37 +0000 Subject: s/=/==/ Ticket #1208 --- packages/snort/snort.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/snort') 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} "; -- cgit v1.2.3