mirror of
https://github.com/juanfont/headscale.git
synced 2025-05-05 01:15:45 +02:00
also exit
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
parent
5a464036f0
commit
bffa64219b
@ -536,7 +536,7 @@ func nodesToProto(polMan policy.PolicyManager, isLikelyConnected *xsync.MapOf[ty
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
resp.ValidTags = lo.Uniq(append(tags, node.ForcedTags...))
|
resp.ValidTags = lo.Uniq(append(tags, node.ForcedTags...))
|
||||||
resp.SubnetRoutes = util.PrefixesToString(pr.PrimaryRoutes(node.ID))
|
resp.SubnetRoutes = util.PrefixesToString(append(pr.PrimaryRoutes(node.ID), node.ExitRoutes()...))
|
||||||
response[index] = resp
|
response[index] = resp
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user