aboutsummaryrefslogtreecommitdiffstats
path: root/config/bandwidthd/bandwidthd.inc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2010-10-05 10:41:41 -0400
committerjim-p <jimp@pfsense.org>2010-10-05 10:41:41 -0400
commit909cd8f9e660122fcaf15b737a5215ef77c2a30e (patch)
tree470636cd754dd0705e6540c29fce1f580ddd91eb /config/bandwidthd/bandwidthd.inc
parentff70e1222e0933a75fd5de1e92cd5fdb0ddca995 (diff)
downloadpfsense-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/bandwidthd/bandwidthd.inc')
-rw-r--r--config/bandwidthd/bandwidthd.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/bandwidthd/bandwidthd.inc b/config/bandwidthd/bandwidthd.inc
index 39a10635..9593ad5b 100644
--- a/config/bandwidthd/bandwidthd.inc
+++ b/config/bandwidthd/bandwidthd.inc
@@ -86,7 +86,7 @@ function bandwidthd_install_config() {
if(is_array($ifdescrs)) {
foreach($ifdescrs 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") {