From 008760d040f4c0c422906e34d474fdd6b6519ab9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ermal=20Lu=C3=A7i?= Date: Sun, 7 Sep 2008 08:24:26 +0000 Subject: Reflect the change on convert_friendly_interface_to_real... into get_real_wan_interface to return the real interface even for disabled ones. They are the same function that needs to be cleand up with the names in some distant future. --- etc/inc/interfaces.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'etc') diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index 81b4b43..2082fe4 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -1830,7 +1830,7 @@ function get_real_wan_interface($interface = "wan") { break; */ default: - $iflist = get_configured_interface_with_descr(); + $iflist = get_configured_interface_with_descr(false, true); foreach ($iflist as $if => $ifdesc) { if ($interface == $if || $interface == $ifdesc) { @@ -2046,4 +2046,4 @@ function get_interface_mac($interface) { return $mac; } -?> \ No newline at end of file +?> -- cgit v1.1