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
..
2024-08-30 08:08:54 +02:00
2024-07-22 08:56:00 +02:00
2024-07-22 08:56:00 +02:00
2024-07-22 08:56:00 +02:00
2024-07-22 08:56:00 +02:00
2024-07-22 08:56:00 +02:00
2024-04-15 12:31:53 +02:00