summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-03-14 16:41:54 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-03-14 16:41:54 +0000
commit435011b43cb31becf05ca8829dec43cc8dd5e742 (patch)
tree033eb68423506cf79c10923b3abc8d52194ca10d /etc/inc
parent68d4b725a4fb4c7ad2aadb46dc306ba216f08784 (diff)
downloadpfsense-435011b43cb31becf05ca8829dec43cc8dd5e742.zip
pfsense-435011b43cb31becf05ca8829dec43cc8dd5e742.tar.gz
Correctly convert real interfaces to friendly names.
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/pfsense-utils.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index f2e4928..b254cab 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -544,6 +544,7 @@ function convert_real_interface_to_friendly_interface_name($interface) {
foreach ($ifdescrs as $ifdescr => $ifname) {
$int = filter_translate_type_to_real_interface($ifname);
if($ifname == $interface) return $ifname;
+ if($int == $interface) return $ifname;
}
return $interface;
}
OpenPOWER on IntegriCloud