mirror of
https://github.com/juanfont/headscale.git
synced 2024-12-29 11:17:51 +00:00
4b65cf48d0
This commits extends the mapper with functions for creating "delta" MapResponses for different purposes (peer changed, peer removed, derp). This wires up the new state management with a new StateUpdate struct letting the poll worker know what kind of update to send to the connected nodes. Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>