aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-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} ";