interfaces: fix passing VLAN name

This commit is contained in:
Franco Fichtner 2019-04-23 14:26:36 +02:00
parent b788ea24bd
commit 64e1a893b6

View File

@ -2272,7 +2272,7 @@ function kill_wpasupplicant($interface)
function interface_virtual_create($interface)
{
if (strstr($interface, '_vlan')) {
interfaces_vlan_configure($vlan);
interfaces_vlan_configure($interface);
} elseif (substr($interface, 0, 3) == 'gre') {
interfaces_gre_configure(0, false, $interface);
} elseif (substr($interface, 0, 3) == 'gif') {