mirror of
https://github.com/juanfont/headscale.git
synced 2025-01-12 12:33:19 -05:00
Formatting of machine.go
This commit is contained in:
parent
a730f007d8
commit
a6e22387fd
@ -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{}
|
||||
|
Loading…
Reference in New Issue
Block a user