Assimilate PIA v4 as PIA in code

This commit is contained in:
Quentin McGaw
2020-11-10 13:35:49 +00:00
parent f48392064e
commit aef14a9f6d
9 changed files with 82 additions and 96 deletions

View File

@@ -415,7 +415,7 @@ func routeReadyEvents(ctx context.Context, wg *sync.WaitGroup, tunnelReadyCh, dn
logger.Info("VPN routing IP address: %s", vpnDestination)
}
if portForwardingEnabled {
// vpnGateway required only for PIA v4
// vpnGateway required only for PIA
vpnGateway, err := routing.VPNLocalGatewayIP()
if err != nil {
logger.Error(err)