mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-25 19:15:34 +00:00
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:
parent
4c08410011
commit
45b9aa0d83
@ -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…
Reference in New Issue
Block a user