summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-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 454ea33..3bdfb15 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -2849,7 +2849,7 @@ function convert_real_interface_to_friendly_interface_name($interface = "wan") {
return $if;
$int = get_parent_interface($if);
- if ($int == $interface)
+ if ($int[0] == $interface)
return $ifname;
}
return NULL;
OpenPOWER on IntegriCloud