mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-18 08:16:39 +00:00
Correct bind error handling
This commit is contained in:
@@ -124,9 +124,6 @@ func (b *ICEBind) makeReceiveIPv4(c net.PacketConn) conn.ReceiveFunc {
|
|||||||
}
|
}
|
||||||
|
|
||||||
err = b.udpMux.HandleSTUNMessage(msg, endpoint)
|
err = b.udpMux.HandleSTUNMessage(msg, endpoint)
|
||||||
if err != nil {
|
|
||||||
return 0, nil, err
|
|
||||||
}
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Warnf("failed to handle packet")
|
log.Warnf("failed to handle packet")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user