mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-12 18:41:51 +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)
|
||||
local sectionname = s[".name"]
|
||||
if sectionname:match("^wan(%d+)$") then
|
||||
i = i + 1
|
||||
i = tonumber(string.match(sectionname, '(%d+)$')) + 1
|
||||
end
|
||||
if ucic:get("network",sectionname,"multipath") == "master" then
|
||||
multipath_master = true
|
||||
|
|
Loading…
Reference in a new issue