mirror of
https://github.com/tailscale/tailscale.git
synced 2026-07-03 04:05:40 -04:00
The previous code used a lot of whole-function variables and shared behavior that only triggered based on prior action from a single codepath. Instead of that, move the small amounts of "shared" code into each switch case. Signed-off-by: David Anderson <danderson@tailscale.com>