all: remove ipv6 check polling

netmon provides ipv6 availability during network event changes, so use
this metadata instead of wasting on polling check.

Further, repeated network errors will force marking ipv6 as disable if
were being enabled, catching a rare case when ipv6 were disabled from
cli or system settings.
This commit is contained in:
Cuong Manh Le authored and Cuong Manh Le committed 2025-03-26 23:16:38 +07:00
1 parent e0d35d8ba2
commit 58c0e4f15a
5 files changed
+36 -31

No files matched your search

+2 -3
View File
@@ -17,9 +17,8 @@ import (
)
const (
controldIPv6Test = "ipv6.controld.io"
v4BootstrapDNS = "76.76.2.22:53"
v6BootstrapDNS = "[2606:1a40::22]:53"
v4BootstrapDNS = "76.76.2.22:53"
v6BootstrapDNS = "[2606:1a40::22]:53"
)
var Dialer = &net.Dialer{