mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 17:04:02 +03:00
Merge pull request #70 from im-kulikov/fix/deprecation-warning
DualStack is deprecated
This commit is contained in:
@@ -21,7 +21,7 @@ func getGlobalIPv6() (net.IP, error) {
|
||||
}
|
||||
|
||||
func fetchIP(network string) (net.IP, error) {
|
||||
dialer := &net.Dialer{DualStack: false}
|
||||
dialer := &net.Dialer{FallbackDelay: -1}
|
||||
client := &http.Client{
|
||||
Jar: nil,
|
||||
Transport: &http.Transport{
|
||||
|
||||
Reference in New Issue
Block a user