mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
net: remove unused linknames
errNoSuchInterface:a33349366ddefaultNS:4a16d22398For #67401 Change-Id: I2945bc5edf8a474315283c57259ba6c2a0b85776 Reviewed-on: https://go-review.googlesource.com/c/go/+/721161 Reviewed-by: Damien Neil <dneil@google.com> Reviewed-by: Mark Freeman <markfreeman@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
This commit is contained in:
parent
65ef314f89
commit
cfb9d2eb73
2 changed files with 0 additions and 11 deletions
|
|
@ -18,7 +18,6 @@ import (
|
||||||
// Notable members of the hall of shame include:
|
// Notable members of the hall of shame include:
|
||||||
// - github.com/pojntfx/hydrapp/hydrapp
|
// - github.com/pojntfx/hydrapp/hydrapp
|
||||||
// - github.com/mtibben/androiddnsfix
|
// - github.com/mtibben/androiddnsfix
|
||||||
// - github.com/metacubex/mihomo
|
|
||||||
//
|
//
|
||||||
// Do not remove or change the type signature.
|
// Do not remove or change the type signature.
|
||||||
// See go.dev/issue/67401.
|
// See go.dev/issue/67401.
|
||||||
|
|
|
||||||
|
|
@ -18,16 +18,6 @@ import (
|
||||||
// BUG(mikio): On AIX, DragonFly BSD, NetBSD, OpenBSD, Plan 9 and
|
// BUG(mikio): On AIX, DragonFly BSD, NetBSD, OpenBSD, Plan 9 and
|
||||||
// Solaris, the MulticastAddrs method of Interface is not implemented.
|
// 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 (
|
var (
|
||||||
errInvalidInterface = errors.New("invalid network interface")
|
errInvalidInterface = errors.New("invalid network interface")
|
||||||
errInvalidInterfaceIndex = errors.New("invalid network interface index")
|
errInvalidInterfaceIndex = errors.New("invalid network interface index")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue