mirror of
https://github.com/juanfont/headscale.git
synced 2025-08-25 19:47:27 +00:00
initial implementation of autoApprovers support
This commit is contained in:
@@ -42,7 +42,14 @@ func (h *Headscale) handlePollCommon(
|
||||
Str("machine", machine.Hostname).
|
||||
Err(err)
|
||||
}
|
||||
|
||||
// update routes with peer information
|
||||
err = h.EnableAutoApprovedRoutes(machine)
|
||||
if err != nil {
|
||||
//TODO
|
||||
}
|
||||
}
|
||||
|
||||
// From Tailscale client:
|
||||
//
|
||||
// ReadOnly is whether the client just wants to fetch the MapResponse,
|
||||
|
Reference in New Issue
Block a user