Use IP addresses resolved for PIA old servers (#239)

- Fix #238
- Not using raw IPs from PIA as they seem invalid
- Update PIA old server information
This commit is contained in:
Quentin McGaw
2020-09-10 21:09:16 -04:00
committed by GitHub
parent 5b3cbb6906
commit ee64cbf1fd
5 changed files with 120 additions and 97 deletions

View File

@@ -77,7 +77,7 @@ func (u *updater) UpdateServers(ctx context.Context) (err error) {
}
if u.options.PIAold {
if err := u.updatePIAOld(); err != nil {
if err := u.updatePIAOld(ctx); err != nil {
return err
}
}