Fix typo in function name: insterface_is_qinq -> interface_is_qinq

This commit is contained in:
Renato Botelho 2017-10-26 07:42:16 -02:00
parent b0b70737ba
commit c48651648c

View File

@ -1562,7 +1562,8 @@ 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) &&
interface_is_vlan($ifname) == NULL && insterface_is_qinq($ifname) == NULL &&
interface_is_vlan($ifname) == NULL &&
interface_is_qinq($ifname) == NULL &&
!stristr($ifname, "_wlan")) {
$toput = array(
"mac" => trim($alink[1]),