summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/util.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/util.inc b/etc/inc/util.inc
index edf9772..818b08e 100644
--- a/etc/inc/util.inc
+++ b/etc/inc/util.inc
@@ -514,7 +514,7 @@ function get_interface_list($mode = "active", $keyby = "physical", $vfaces = "")
$ifname = rtrim(trim($alink[0]), '*');
/* trim out all numbers before checking for vfaces */
if (!in_array(array_shift(preg_split('/\d/', $ifname)), $vfaces) &&
- !stristr($ifname, "vlan")) {
+ !stristr($ifname, "_vl")) {
$toput = array(
"mac" => trim($alink[1]),
"up" => in_array($ifname, $upints)
OpenPOWER on IntegriCloud