mirror of
https://github.com/tailscale/tailscale.git
synced 2025-11-10 07:15:27 +00:00
wgengine/wgcfg: recover from mismatched PublicKey/Endpoints
In rare circumstances (tailscale/corp#3016), the PublicKey and Endpoints can diverge. This by itself doesn't cause any harm, but our early exit in response did, because it prevented us from recovering from it. Remove the early exit. Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
This commit is contained in:
committed by
Josh Bleecher Snyder
parent
9fc4e876e3
commit
85184a58ed
@@ -57,4 +57,5 @@ var _PeerCloneNeedsRegeneration = Peer(struct {
|
||||
DiscoKey key.DiscoPublic
|
||||
AllowedIPs []netaddr.IPPrefix
|
||||
PersistentKeepalive uint16
|
||||
WGEndpoint key.NodePublic
|
||||
}{})
|
||||
|
||||
Reference in New Issue
Block a user