From 74e1e6589d9979a3800ea9c59f8dda9ae870a43a Mon Sep 17 00:00:00 2001 From: jim-p Date: Tue, 5 Oct 2010 11:07:30 -0400 Subject: Whoops this reference was good (for speed) and should stay. --- etc/inc/interfaces.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index 2675f03..7734cb2 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -2706,7 +2706,7 @@ function convert_real_interface_to_friendly_interface_name($interface = "wan") { } /* XXX: For speed reasons reference directly the interface array */ - $ifdescrs = $config['interfaces']; + $ifdescrs = &$config['interfaces']; //$ifdescrs = get_configured_interface_list(false, true); foreach ($ifdescrs as $if => $ifname) { -- cgit v1.1