Kristoffer Dalby 064c46f2a5
move logic for validating node names (#2127)
* move logic for validating node names

this commits moves the generation of "given names" of nodes
into the registration function, and adds validation of renames
to RenameNode using the same logic.

Fixes #2121

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>

* fix double arg

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>

---------

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2024-09-11 18:27:49 +02:00
..
2023-09-05 08:47:43 +02:00
2024-09-09 14:17:25 +02:00
2024-09-09 14:10:22 +02:00
2024-07-22 08:56:00 +02:00
2024-09-05 16:46:20 +02:00
2024-09-09 14:10:22 +02:00
2024-07-22 08:56:00 +02:00
2024-08-19 11:41:05 +02:00