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:
parent
203277462c
commit
223ce87a72
2 changed files with 29 additions and 5 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue