mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 08:34:39 +00:00
interfaces: fix passing VLAN name
This commit is contained in:
parent
b788ea24bd
commit
64e1a893b6
@ -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') {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user