Fix: restore PIA error if region does not support port forwarding

This commit is contained in:
Quentin McGaw (desktop)
2021-08-16 19:16:05 +00:00
parent 74b7c81195
commit 2c73672e64
4 changed files with 19 additions and 25 deletions

View File

@@ -9,10 +9,9 @@ import (
)
type PIA struct {
servers []models.PIAServer
randSource rand.Source
timeNow func() time.Time
activeServer models.PIAServer
servers []models.PIAServer
randSource rand.Source
timeNow func() time.Time
// Port forwarding
portForwardPath string
authFilePath string