mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-13 02:51:50 +00:00
Fix add interface in wizard
This commit is contained in:
parent
f54e40b7e8
commit
701c0339de
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ function wizard_add()
|
||||||
ucic:foreach("network", "interface", function(s)
|
ucic:foreach("network", "interface", function(s)
|
||||||
local sectionname = s[".name"]
|
local sectionname = s[".name"]
|
||||||
if sectionname:match("^wan(%d+)$") then
|
if sectionname:match("^wan(%d+)$") then
|
||||||
i = i + 1
|
i = tonumber(string.match(sectionname, '(%d+)$')) + 1
|
||||||
end
|
end
|
||||||
if ucic:get("network",sectionname,"multipath") == "master" then
|
if ucic:get("network",sectionname,"multipath") == "master" then
|
||||||
multipath_master = true
|
multipath_master = true
|
||||||
|
|
Loading…
Reference in a new issue