mirror of
https://github.com/slackhq/nebula.git
synced 2026-06-30 18:40:29 +02:00
udp_darwin: don't call the EncReader on a UDP error (#1755)
This commit is contained in:
+1
-1
@@ -175,8 +175,8 @@ func (u *StdConn) ListenOut(r EncReader) error {
|
||||
if errors.Is(err, net.ErrClosed) {
|
||||
return err
|
||||
}
|
||||
|
||||
u.l.Error("unexpected udp socket receive error", "error", err)
|
||||
continue
|
||||
}
|
||||
|
||||
r(netip.AddrPortFrom(rua.Addr().Unmap(), rua.Port()), buffer[:n])
|
||||
|
||||
Reference in New Issue
Block a user