mirror of
https://github.com/juanfont/headscale.git
synced 2024-12-24 08:47:49 +00: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)
|
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 {
|
if includeRoutes {
|
||||||
routesStr := []string{}
|
routesStr := []string{}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user