aboutsummaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/dnsconfig.go1
-rw-r--r--src/net/interface.go10
2 files changed, 0 insertions, 11 deletions
diff --git a/src/net/dnsconfig.go b/src/net/dnsconfig.go
index 7919c3c3b5..5a156ea0e4 100644
--- a/src/net/dnsconfig.go
+++ b/src/net/dnsconfig.go
@@ -18,7 +18,6 @@ import (
// Notable members of the hall of shame include:
// - github.com/pojntfx/hydrapp/hydrapp
// - github.com/mtibben/androiddnsfix
-// - github.com/metacubex/mihomo
//
// Do not remove or change the type signature.
// See go.dev/issue/67401.
diff --git a/src/net/interface.go b/src/net/interface.go
index 5ae3a3a149..3cf52c5371 100644
--- a/src/net/interface.go
+++ b/src/net/interface.go
@@ -18,16 +18,6 @@ import (
// BUG(mikio): On AIX, DragonFly BSD, NetBSD, OpenBSD, Plan 9 and
// Solaris, the MulticastAddrs method of Interface is not implemented.
-// errNoSuchInterface should be an internal detail,
-// but widely used packages access it using linkname.
-// Notable members of the hall of shame include:
-// - github.com/sagernet/sing
-//
-// Do not remove or change the type signature.
-// See go.dev/issue/67401.
-//
-//go:linkname errNoSuchInterface
-
var (
errInvalidInterface = errors.New("invalid network interface")
errInvalidInterfaceIndex = errors.New("invalid network interface index")