net/interfaces: delete unused unexported function
It should've been deleted in 11ece02f52
.
Updates #9040
Change-Id: If8a136bdb6c82804af658c9d2b0a8c63ce02d509
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:

committed by
Brad Fitzpatrick

parent
7e2b4268d6
commit
068db1f972
@ -662,16 +662,6 @@ func (s *State) keepInterfaceInStringSummary(ifName string) bool {
|
||||
return false
|
||||
}
|
||||
|
||||
// isInterestingIP reports whether ip is an interesting IP that we
|
||||
// should log in interfaces.State logging. We don't need to show
|
||||
// loopback, link-local addresses, or non-Tailscale ULA addresses.
|
||||
func isInterestingIP(ip netip.Addr) bool {
|
||||
if ip.IsLoopback() || ip.IsLinkLocalUnicast() {
|
||||
return false
|
||||
}
|
||||
return true
|
||||
}
|
||||
|
||||
var altNetInterfaces func() ([]Interface, error)
|
||||
|
||||
// RegisterInterfaceGetter sets the function that's used to query
|
||||
|
Reference in New Issue
Block a user