diff options
author | gnhb <gnoahb@gmail.com> | 2011-01-25 11:27:40 +0700 |
---|---|---|
committer | gnhb <gnoahb@gmail.com> | 2011-01-25 11:27:40 +0700 |
commit | 54ac5d9080c2ea6669af07aa49a5ce660f2ede76 (patch) | |
tree | 47a8a326c50fddf56f7d808085d546ed8b576fa1 /etc/inc | |
parent | d5dfcb52bc72bdd1685da5e36fc1910ab16f7f5f (diff) | |
download | pfsense-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.inc | 2 |
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; } |