mirror of
https://github.com/tailscale/tailscale.git
synced 2026-11-09 22:14:31 +09:00
The check for finding unambiguous disco pings was not comparing the
disco key and node keys correctly. Fix the error and add a test that
asserts the ping is not seen as unambiguous when the node key does not
match the disco key, and the disco key has multiple matches.
Fixes tailscale/corp#50343
Thank you to Brody Franks for reporting this issue.
(cherry picked from commit 7a3650494f)
Signed-off-by: Claus Lensbøl <claus@tailscale.com>