Skip to content

Commit

Permalink
allow auto-creation of subnet routing
Browse files Browse the repository at this point in the history
  • Loading branch information
alan-nettica committed Jun 30, 2024
1 parent e501f86 commit 579bf6c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/vpn.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ func CreateVPN(vpn *model.VPN) (*model.VPN, error) {
if current.EnableDns {
vpn.Current.EnableDns = current.EnableDns
}
if current.SubnetRouting {
vpn.Current.SubnetRouting = current.SubnetRouting
}
if current.UPnP {
vpn.Current.UPnP = current.UPnP
}
Expand Down

0 comments on commit 579bf6c

Please sign in to comment.