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)
|
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…
Reference in a new issue