net/netmon: remove spammy log statements (#11953)

Updates tailscale/corp#18960

Tests in corp called us using the wrong logging calls.  Removed.
This is logged downstream anyway.

Signed-off-by: Jonathan Nobels <jonathan@tailscale.com>
This commit is contained in:
Jonathan Nobels 2024-05-01 12:02:16 -04:00 committed by GitHub
parent 4c08410011
commit 45b9aa0d83
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -77,7 +77,6 @@ func defaultRoute() (d DefaultRouteDetails, err error) {
if ifc != nil { if ifc != nil {
d.InterfaceName = ifc.Name d.InterfaceName = ifc.Name
d.InterfaceIndex = ifc.Index d.InterfaceIndex = ifc.Index
log.Printf("defaultroute_darwin: using lastKnownDefaultRouteInterface %s %v", d.InterfaceName, d.InterfaceIndex)
return d, nil return d, nil
} }
} }
@ -93,6 +92,5 @@ func defaultRoute() (d DefaultRouteDetails, err error) {
} }
d.InterfaceName = iface.Name d.InterfaceName = iface.Name
d.InterfaceIndex = idx d.InterfaceIndex = idx
log.Printf("defaultroute_darwin: using table dervied default if %s %v", d.InterfaceName, d.InterfaceIndex)
return d, nil return d, nil
} }