From ff70e1222e0933a75fd5de1e92cd5fdb0ddca995 Mon Sep 17 00:00:00 2001 From: jim-p Date: Tue, 5 Oct 2010 10:36:52 -0400 Subject: No need for reference here. It can also be a problem. --- config/snort/snort.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/snort') diff --git a/config/snort/snort.inc b/config/snort/snort.inc index c9f08b11..82ee8f1f 100644 --- a/config/snort/snort.inc +++ b/config/snort/snort.inc @@ -107,7 +107,7 @@ function build_base_whitelist($build_netlist, $wanip, $wangw, $wandns, $vips, $v */ foreach($int_array as $int) { /* calculate interface subnet information */ - $ifcfg = &$config['interfaces'][$int]; + $ifcfg = $config['interfaces'][$int]; $subnet = gen_subnet($ifcfg['ipaddr'], $ifcfg['subnet']); $subnetmask = gen_subnet_mask($ifcfg['subnet']); if($subnet == "pppoe" or $subnet == "dhcp") { -- cgit v1.2.3