mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-29 04:55:31 +00:00
wgengine/magicsock: remove redundant derpMagicIP comparison
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
parent
bd60a750e8
commit
61d83f759b
@ -1144,11 +1144,6 @@ func (a *AddrSet) UpdateDst(new *net.UDPAddr) error {
|
||||
// Packet from current-priority address, no logging.
|
||||
// This is a hot path for established connections.
|
||||
return nil
|
||||
} else if new.IP.Equal(derpMagicIP) {
|
||||
// Never pick DERP addresses as a roaming addr. DERP obeys its
|
||||
// own endpoint selection logic.
|
||||
// This is a hot path for established connections.
|
||||
return nil
|
||||
}
|
||||
|
||||
index := -1
|
||||
|
Loading…
Reference in New Issue
Block a user