mirror of
https://github.com/juanfont/headscale.git
synced 2026-10-12 09:33:56 +09:00
Formatting of machine.go
This commit is contained in:
1 parent
a730f007d8
commit
a6e22387fd
1 file changed
+3
-1
+3
-1
@@ -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{}
|
||||
|
||||
Reference in new issue
Block a user