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

Disable IPv6 delegation on default WAN interfaces and created via Wizard, fix typo on z8102 network config

This commit is contained in:
Ycarus (Yannick Chabanois) 2023-11-21 15:17:29 +01:00
parent d9c47c8c52
commit d5aaf23938
2 changed files with 7 additions and 2 deletions

View file

@ -378,6 +378,7 @@ function wizard_add()
end
ucic:set("network",intf,"defaultroute",0)
ucic:set("network",intf,"peerdns",0)
ucic:set("network",intf,"delegate",0)
if ipaddr ~= "" then
ucic:set("network",intf,"ipaddr",ipaddr:gsub("%s+", ""))
ucic:set("network",intf,"netmask",netmask:gsub("%s+", ""))