mirror of
https://github.com/netbirdio/netbird.git
synced 2024-12-13 18:31:18 +01:00
Split UDPMux and UniversalUDPMux
This commit is contained in:
parent
0721b87c56
commit
a7facc2d72
@ -204,7 +204,7 @@ func (b *ICEBind) Send(buff []byte, endpoint conn.Endpoint) error {
|
||||
if co == nil {
|
||||
// todo proper handling
|
||||
log.Warnf("conn not found for endpoint %s", endpoint.DstToString())
|
||||
return nil
|
||||
return conn.ErrWrongEndpointType
|
||||
}
|
||||
|
||||
_, err := co.WriteTo(buff, (*net.UDPAddr)(nend))
|
||||
|
Loading…
Reference in New Issue
Block a user