summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorgnhb <gnoahb@gmail.com>2011-01-25 11:27:40 +0700
committergnhb <gnoahb@gmail.com>2011-01-25 11:27:40 +0700
commit54ac5d9080c2ea6669af07aa49a5ce660f2ede76 (patch)
tree47a8a326c50fddf56f7d808085d546ed8b576fa1 /etc/inc
parentd5dfcb52bc72bdd1685da5e36fc1910ab16f7f5f (diff)
downloadpfsense-54ac5d9080c2ea6669af07aa49a5ce660f2ede76.zip
pfsense-54ac5d9080c2ea6669af07aa49a5ce660f2ede76.tar.gz
I think this is supposed to be get_real_interface too, not get_parent.
Revert if I mis-understood.
Diffstat (limited to 'etc/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 1e75ab4..2f2ddba 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -2831,7 +2831,7 @@ function convert_real_interface_to_friendly_interface_name($interface = "wan") {
if (stristr($interface, "_wlan0") && $config['interfaces'][$if]['if'] == interface_get_wireless_base($interface))
return $if;
- $int = get_parent_interface($if);
+ $int = get_real_interface($if);
if ($int == $interface)
return $ifname;
}
OpenPOWER on IntegriCloud