summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2016-02-11 00:43:17 -0600
committerChris Buechler <cmb@pfsense.org>2016-02-11 00:43:17 -0600
commit67c3b4dc0eecc6508c38f9a8a50d83fb9fc79af9 (patch)
tree3716fb9964a3103e4c79570fcc4de502c9fbe869 /src
parentb574dc6327e03ccd446f61a08a9fea7c5827ce0e (diff)
downloadpfsense-67c3b4dc0eecc6508c38f9a8a50d83fb9fc79af9.zip
pfsense-67c3b4dc0eecc6508c38f9a8a50d83fb9fc79af9.tar.gz
Return loopback description for friendly interface. noticed as part of Ticket #4450, applicable across a variety of things.
Diffstat (limited to 'src')
-rw-r--r--src/etc/inc/interfaces.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/etc/inc/interfaces.inc b/src/etc/inc/interfaces.inc
index 82771df..af0d11f 100644
--- a/src/etc/inc/interfaces.inc
+++ b/src/etc/inc/interfaces.inc
@@ -4542,6 +4542,9 @@ function convert_friendly_interface_to_friendly_descr($interface) {
case "openvpn":
$ifdesc = "OpenVPN";
break;
+ case "lo0":
+ $ifdesc = "Loopback";
+ break;
case "enc0":
case "ipsec":
case "IPsec":
OpenPOWER on IntegriCloud