1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Various IPv6 fixes

This commit is contained in:
Ycarus (Yannick Chabanois) 2023-01-03 20:54:40 +01:00
parent b3ebd3a83d
commit 9d544752a4
4 changed files with 39 additions and 17 deletions

View file

@ -388,9 +388,11 @@ function wizard_add()
if ip6addr ~= "" then
ucic:set("network",intf,"ip6addr",ip6addr:gsub("%s+", ""))
ucic:set("network",intf,"ip6gw",ip6gw:gsub("%s+", ""))
ucic:set("network",intf,"ipv6","1")
else
ucic:set("network",intf,"ip6addr","")
ucic:set("network",intf,"ip6gw","")
ucic:set("network",intf,"ipv6","0")
end
if proto == "dhcpv6" then