1
0
mirror of https://github.com/juanfont/headscale.git synced 2025-09-16 17:50:44 +02:00
juanfont.headscale/hscontrol/state
Kristoffer Dalby 476f30ab20 state: ensure netinfo is preserved and not removed
the client will send a lot of fields as `nil` if they have
not changed. NetInfo, which is inside Hostinfo, is one of those
fields and we often would override the whole hostinfo meaning that
we would remove netinfo if it hadnt changed.

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2025-09-09 09:40:00 +02:00
..
debug_test.go debug: add json and improve 2025-09-09 09:40:00 +02:00
debug.go debug: add json and improve 2025-09-09 09:40:00 +02:00
maprequest_test.go state: ensure netinfo is preserved and not removed 2025-09-09 09:40:00 +02:00
maprequest.go state: ensure netinfo is preserved and not removed 2025-09-09 09:40:00 +02:00
node_store_test.go state/nodestore: in memory representation of nodes 2025-09-09 09:40:00 +02:00
node_store.go debug: add json and improve 2025-09-09 09:40:00 +02:00
state.go state: ensure netinfo is preserved and not removed 2025-09-09 09:40:00 +02:00