mirror of
https://github.com/netbirdio/netbird.git
synced 2025-08-17 18:41:41 +02:00
Split UDPMux and UniversalUDPMux
This commit is contained in:
@@ -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))
|
||||
|
Reference in New Issue
Block a user