From c30db1d1fb4b2df7840e2563943576cb7b5098d5 Mon Sep 17 00:00:00 2001 From: Jonathan Nobels Date: Wed, 1 May 2024 10:09:52 -0400 Subject: [PATCH] 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 --- 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 }