From 45b9aa0d831670190703f3558413ae490a2134db Mon Sep 17 00:00:00 2001 From: Jonathan Nobels Date: Wed, 1 May 2024 12:02:16 -0400 Subject: [PATCH] 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 --- net/netmon/defaultroute_darwin.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/net/netmon/defaultroute_darwin.go b/net/netmon/defaultroute_darwin.go index 9da52e311..4efe2f1aa 100644 --- a/net/netmon/defaultroute_darwin.go +++ b/net/netmon/defaultroute_darwin.go @@ -77,7 +77,6 @@ func defaultRoute() (d DefaultRouteDetails, err error) { if ifc != nil { d.InterfaceName = ifc.Name d.InterfaceIndex = ifc.Index - log.Printf("defaultroute_darwin: using lastKnownDefaultRouteInterface %s %v", d.InterfaceName, d.InterfaceIndex) return d, nil } } @@ -93,6 +92,5 @@ func defaultRoute() (d DefaultRouteDetails, err error) { } d.InterfaceName = iface.Name d.InterfaceIndex = idx - log.Printf("defaultroute_darwin: using table dervied default if %s %v", d.InterfaceName, d.InterfaceIndex) return d, nil }