diff options
author | jim-p <jimp@pfsense.org> | 2010-10-05 10:56:01 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2010-10-05 10:56:01 -0400 |
commit | 6727f4ef79526937d6d54af3c2138488e47a0a36 (patch) | |
tree | 35e6f4f4a308ad960bee5d70cd63f141e6a3dd21 /etc/inc/gwlb.inc | |
parent | b676a6a9dbfe04db77b6ae37bbb4ecbc2d48c003 (diff) | |
download | pfsense-6727f4ef79526937d6d54af3c2138488e47a0a36.zip pfsense-6727f4ef79526937d6d54af3c2138488e47a0a36.tar.gz |
More unneeded references.
Diffstat (limited to 'etc/inc/gwlb.inc')
-rw-r--r-- | etc/inc/gwlb.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/gwlb.inc b/etc/inc/gwlb.inc index ce90e69..03773ea 100644 --- a/etc/inc/gwlb.inc +++ b/etc/inc/gwlb.inc @@ -313,7 +313,7 @@ function return_gateways_array($disabled = false) { if(! interface_has_gateway($ifname)) continue; - $ifcfg =& $config['interfaces'][$ifname]; + $ifcfg = $config['interfaces'][$ifname]; if (!empty($ifcfg['ipaddr']) && is_ipaddr($ifcfg['ipaddr'])) continue; @@ -497,7 +497,7 @@ function get_interface_gateway($interface, &$dynamic = false) { $gw = NULL; - $gwcfg =& $config['interfaces'][$interface]; + $gwcfg = $config['interfaces'][$interface]; if (!empty($gwcfg['gateway']) && is_array($config['gateways']['gateway_item'])) { foreach($config['gateways']['gateway_item'] as $gateway) { if ($gateway['name'] == $gwcfg['gateway']) { |