mirror of
https://github.com/tailscale/tailscale.git
synced 2025-01-07 08:07:42 +00:00
stunner: quiet a harmless log warning
This commit is contained in:
parent
bc73dcf204
commit
a87ee4168a
@ -105,6 +105,11 @@ func (s *Stunner) Receive(p []byte, fromAddr *net.UDPAddr) {
|
|||||||
now := time.Now()
|
now := time.Now()
|
||||||
tx, addr, port, err := stun.ParseResponse(p)
|
tx, addr, port, err := stun.ParseResponse(p)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
if _, err := stun.ParseBindingRequest(p); err == nil {
|
||||||
|
// This was probably our own netcheck hairpin
|
||||||
|
// check probe coming in late. Ignore.
|
||||||
|
return
|
||||||
|
}
|
||||||
s.logf("stunner: received bad STUN response: %v", err)
|
s.logf("stunner: received bad STUN response: %v", err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user