From 922978c3a56c805df99ec94259d90a5ab0571282 Mon Sep 17 00:00:00 2001 From: Olivier Poitrey Date: Sun, 1 Dec 2024 21:12:59 +0100 Subject: [PATCH] Fix IPv6 detection --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 5c79529..79038cf 100644 --- a/main.go +++ b/main.go @@ -175,7 +175,7 @@ func main() { func hasIPv6() bool { fmt.Println("Testing IPv6 connectivity") - c, err := net.Dial("tcp", "[2620:fe::fe]:80") + c, err := net.Dial("tcp", "[2620:fe::fe]:443") if c != nil { c.Close() }