1
0
Fork 0
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:
Ycarus (Yannick Chabanois) 2020-10-28 15:22:29 +01:00
parent f54e40b7e8
commit 701c0339de

View file

@ -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