mirror of
https://github.com/qdm12/gluetun.git
synced 2026-05-07 04:20:12 +02:00
hotfix(amneziawg): fix errors (#3240)
This commit is contained in:
@@ -30,7 +30,7 @@ func pickConnection(connections []models.Connection,
|
||||
switch selection.VPN {
|
||||
case vpn.OpenVPN:
|
||||
targetIP = selection.OpenVPN.EndpointIP
|
||||
case vpn.Wireguard:
|
||||
case vpn.Wireguard, vpn.AmneziaWg:
|
||||
targetIP = selection.Wireguard.EndpointIP
|
||||
default:
|
||||
panic("unknown VPN type: " + selection.VPN)
|
||||
|
||||
Reference in New Issue
Block a user