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

@@ -69,7 +69,7 @@ func Test_AllServers_GetCopy(t *testing.T) {
Protonvpn: ProtonvpnServers{
Servers: []ProtonvpnServer{{
EntryIP: net.IP{1, 2, 3, 4},
ExitIP: net.IP{1, 2, 3, 4},
ExitIPs: []net.IP{{1, 2, 3, 4}},
}},
},
Purevpn: PurevpnServers{