mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-13 11:01:50 +00:00
Keep vpn enable even with no key
This commit is contained in:
parent
58d4668e4b
commit
5e8690d4b5
1 changed files with 2 additions and 2 deletions
|
@ -439,7 +439,7 @@ function wizard_add()
|
||||||
ucic:set("network","omrvpn","proto","none")
|
ucic:set("network","omrvpn","proto","none")
|
||||||
else
|
else
|
||||||
ucic:set("glorytun","vpn","key","")
|
ucic:set("glorytun","vpn","key","")
|
||||||
ucic:set("glorytun","vpn","enable",0)
|
--ucic:set("glorytun","vpn","enable",0)
|
||||||
ucic:set("glorytun","vpn","proto","tcp")
|
ucic:set("glorytun","vpn","proto","tcp")
|
||||||
end
|
end
|
||||||
ucic:save("glorytun")
|
ucic:save("glorytun")
|
||||||
|
@ -463,7 +463,7 @@ function wizard_add()
|
||||||
ucic:set("network","omrvpn","proto","none")
|
ucic:set("network","omrvpn","proto","none")
|
||||||
else
|
else
|
||||||
ucic:set("dsvpn","vpn","key","")
|
ucic:set("dsvpn","vpn","key","")
|
||||||
ucic:set("dsvpn","vpn","enable",0)
|
--ucic:set("dsvpn","vpn","enable",0)
|
||||||
end
|
end
|
||||||
ucic:save("dsvpn")
|
ucic:save("dsvpn")
|
||||||
ucic:commit("dsvpn")
|
ucic:commit("dsvpn")
|
||||||
|
|
Loading…
Reference in a new issue