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

Add ULA in wizard

This commit is contained in:
Ycarus (Yannick Chabanois) 2020-05-14 21:11:50 +02:00
parent 6d3927ec77
commit ac9c29af6b
2 changed files with 21 additions and 9 deletions

View file

@ -306,6 +306,8 @@ function wizard_add()
ucic:set("openmptcprouter","settings","disable_ipv6",disableipv6)
--local ut = require "luci.util"
--local result = ut.ubus("openmptcprouter", "set_ipv6_state", { disable_ipv6 = disableipv6 })
local ula = luci.http.formvalue("ula") or ""
ucic:set("network","globals","ula_prefix",ula)
-- Get VPN set by default
local default_vpn = luci.http.formvalue("default_vpn") or "glorytun_tcp"