diff options
author | jim-p <jimp@pfsense.org> | 2010-10-05 10:41:41 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2010-10-05 10:41:41 -0400 |
commit | 909cd8f9e660122fcaf15b737a5215ef77c2a30e (patch) | |
tree | 470636cd754dd0705e6540c29fce1f580ddd91eb /config/snort-old/snort.inc | |
parent | ff70e1222e0933a75fd5de1e92cd5fdb0ddca995 (diff) | |
download | pfsense-packages-909cd8f9e660122fcaf15b737a5215ef77c2a30e.tar.gz pfsense-packages-909cd8f9e660122fcaf15b737a5215ef77c2a30e.tar.bz2 pfsense-packages-909cd8f9e660122fcaf15b737a5215ef77c2a30e.zip |
References aren't needed if you aren't modifying the new variable. Remove &.
Diffstat (limited to 'config/snort-old/snort.inc')
-rwxr-xr-x | config/snort-old/snort.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/snort-old/snort.inc b/config/snort-old/snort.inc index 74a863ad..0ed53feb 100755 --- a/config/snort-old/snort.inc +++ b/config/snort-old/snort.inc @@ -927,7 +927,7 @@ function snort_rules_up_install_cron($should_install) { */ 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") { |