mirror of
https://github.com/juanfont/headscale.git
synced 2026-04-11 11:37:03 +02:00
Merging two changes targeted at different nodes is not supported because the result can only carry one TargetNode. The second target's content would be silently misrouted. Add a panic guard that catches this at the Merge call site rather than allowing silent data loss. In production, Merge is only called with broadcast changes (TargetNode=0) so the guard acts as insurance against future misuse.