modules/admin-full: fix 4k vlan option
This commit is contained in:
parent
76e5b68bb9
commit
9fdb4acec0
1 changed files with 3 additions and 3 deletions
|
@ -62,15 +62,15 @@ m.uci:foreach("network", "switch",
|
|||
if is_vlan_attr then has_vlan4k = line:match(": (%w+)") end
|
||||
if is_port_attr then has_ptpvid = line:match(": (%w+)") end
|
||||
|
||||
elseif line:match(": enable_vlan4k") then
|
||||
enable_vlan4k = true
|
||||
|
||||
elseif line:match(": enable_vlan") then
|
||||
has_vlan = "enable_vlan"
|
||||
|
||||
elseif line:match(": enable_learning") then
|
||||
has_learn = "enable_learning"
|
||||
|
||||
elseif line:match(": enable_vlan4k") then
|
||||
enable_vlan4k = true
|
||||
|
||||
elseif line:match(": max_length") then
|
||||
has_jumbo3 = "max_length"
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue