Maint: deduplicate ProtonVPN servers by entry IP

This commit is contained in:
Quentin McGaw (desktop)
2021-09-30 15:23:18 +00:00
parent 1d25a0e18c
commit a432de95a9
7 changed files with 3158 additions and 8865 deletions

View File

@@ -168,7 +168,7 @@ func (a *AllServers) GetProtonvpn() (servers []ProtonvpnServer) {
for i, serverToCopy := range a.Protonvpn.Servers {
servers[i] = serverToCopy
servers[i].EntryIP = copyIP(serverToCopy.EntryIP)
servers[i].ExitIP = copyIP(serverToCopy.ExitIP)
servers[i].ExitIPs = copyIPs(serverToCopy.ExitIPs)
}
return servers
}