Formatting of machine.go

This commit is contained in:
Kristoffer Dalby 2022-01-25 22:11:15 +00:00
parent a730f007d8
commit a6e22387fd

View file

@ -530,7 +530,9 @@ func (machine Machine) toNode(
addrs = append(addrs, ip)
}
allowedIPs := append([]netaddr.IPPrefix{}, addrs...) // we append the node own IP, as it is required by the clients
allowedIPs := append(
[]netaddr.IPPrefix{},
addrs...) // we append the node own IP, as it is required by the clients
if includeRoutes {
routesStr := []string{}