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:
parent
6d3927ec77
commit
ac9c29af6b
2 changed files with 21 additions and 9 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue