1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-13 02:51:50 +00:00

Keep vpn enable even with no key

This commit is contained in:
Ycarus (Yannick Chabanois) 2019-08-05 16:58:17 +02:00
parent 58d4668e4b
commit 5e8690d4b5

View file

@ -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")