mirror of
https://github.com/tailscale/tailscale.git
synced 2026-12-06 08:32:21 -08:00
debug set subnet routes
Signed-off-by: Kristoffer Dalby <[email protected]>
This commit is contained in:
1 file changed
+1
@@ -366,6 +366,7 @@ func (s *Server) serveMachine(w http.ResponseWriter, r *http.Request) {
|
||||
func (s *Server) SetSubnetRoutes(nodeKey key.NodePublic, routes []netip.Prefix) {
|
||||
s.mu.Lock()
|
||||
defer s.mu.Unlock()
|
||||
s.logf("Setting subnet routes for %s: %v", nodeKey.ShortString(), routes)
|
||||
mak.Set(&s.nodeSubnetRoutes, nodeKey, routes)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user