mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-26 08:53:05 +00:00
Formatting of machine.go
This commit is contained in:
parent
a730f007d8
commit
a6e22387fd
1 changed files with 3 additions and 1 deletions
|
@ -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 a new issue