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:
parent
b3ebd3a83d
commit
9d544752a4
4 changed files with 39 additions and 17 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue