aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2010-10-05 10:36:52 -0400
committerjim-p <jimp@pfsense.org>2010-10-05 10:36:52 -0400
commitff70e1222e0933a75fd5de1e92cd5fdb0ddca995 (patch)
treecf27e429e545c10d80bbfec4e9ee256025831774
parentdaa83f6912bee3857ab91a5158ba6ccec6f93362 (diff)
downloadpfsense-packages-ff70e1222e0933a75fd5de1e92cd5fdb0ddca995.tar.gz
pfsense-packages-ff70e1222e0933a75fd5de1e92cd5fdb0ddca995.tar.bz2
pfsense-packages-ff70e1222e0933a75fd5de1e92cd5fdb0ddca995.zip
No need for reference here. It can also be a problem.
-rw-r--r--config/snort/snort.inc2
1 files changed, 1 insertions, 1 deletions
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") {