net/netmon: remove spammy log statements

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>
pull/11953/head
Jonathan Nobels 6 months ago
parent fa1303d632
commit c30db1d1fb

@ -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
} }

Loading…
Cancel
Save