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

Set DHCP by default for all VPNs

This commit is contained in:
Ycarus 2019-02-04 20:08:49 +01:00
parent 203277462c
commit 223ce87a72
2 changed files with 29 additions and 5 deletions

View file

@ -239,7 +239,7 @@ function wizard_add()
if default_vpn:match("^glorytun.*") then
vpn_port = 65001
vpn_intf = "tun0"
ucic:set("network","omrvpn","proto","none")
ucic:set("network","omrvpn","proto","dhcp")
elseif default_vpn == "mlvpn" then
vpn_port = 65201
vpn_intf = "mlvpn0"