summaryrefslogtreecommitdiffstats
path: root/etc/inc/interfaces.inc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2010-10-05 11:13:42 -0400
committerjim-p <jimp@pfsense.org>2010-10-05 11:13:42 -0400
commit6447bde5a1070a4b1fb90bd78cbdf19f82d04612 (patch)
tree7dcbb5b58232c8fc56ba910339794de2cdea1afb /etc/inc/interfaces.inc
parent74e1e6589d9979a3800ea9c59f8dda9ae870a43a (diff)
downloadpfsense-6447bde5a1070a4b1fb90bd78cbdf19f82d04612.zip
pfsense-6447bde5a1070a4b1fb90bd78cbdf19f82d04612.tar.gz
This ref should be safe too
Diffstat (limited to 'etc/inc/interfaces.inc')
-rw-r--r--etc/inc/interfaces.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 7734cb2..a9078b4 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -2851,7 +2851,7 @@ function get_real_interface($interface = "wan") {
if (empty($config['interfaces'][$interface]))
break;
- $cfg = $config['interfaces'][$interface];
+ $cfg = &$config['interfaces'][$interface];
// Wireless cloned NIC support (FreeBSD 8+)
// interface name format: $parentnic_wlanparentnic#
OpenPOWER on IntegriCloud