summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2008-09-07 08:24:26 +0000
committerErmal Luçi <eri@pfsense.org>2008-09-07 08:24:26 +0000
commit008760d040f4c0c422906e34d474fdd6b6519ab9 (patch)
treeb5b34cf80f2e47a6d8093894a67dc4f0eca37646
parent705c8ec9fc82f3d6d9fd491278c2789b92b5be32 (diff)
downloadpfsense-008760d040f4c0c422906e34d474fdd6b6519ab9.zip
pfsense-008760d040f4c0c422906e34d474fdd6b6519ab9.tar.gz
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.
-rw-r--r--etc/inc/interfaces.inc4
1 files changed, 2 insertions, 2 deletions
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
+?>
OpenPOWER on IntegriCloud