Files
ctrld/cmd/cli/route_others.go
T
Anthony Wong 8ae09ac98e feat(cli): put the network state of the host in the log journal
The journal records the network state of the host and each change of
that state. The support team reads one file to see the interfaces, the
routes, the resolvers, and the recoveries around an incident. The same
file shows the health of the query path. A change that touches only
AirDrop or virtual interfaces runs no DNS work.
2026-09-28 16:49:05 +07:00

11 lines
298 B
Go

//go:build !darwin
package cli
// defaultRoutes gives no route. Only macOS reads the route table in this
// release, so the snapshot of another system holds no gateway and no default
// route of the v6 family.
func defaultRoutes() (v4, v6 defaultRoute) {
return defaultRoute{}, defaultRoute{}
}