mirror of
https://github.com/netbirdio/netbird.git
synced 2025-08-18 02:50:43 +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 {
|
if co == nil {
|
||||||
// todo proper handling
|
// todo proper handling
|
||||||
log.Warnf("conn not found for endpoint %s", endpoint.DstToString())
|
log.Warnf("conn not found for endpoint %s", endpoint.DstToString())
|
||||||
return nil
|
return conn.ErrWrongEndpointType
|
||||||
}
|
}
|
||||||
|
|
||||||
_, err := co.WriteTo(buff, (*net.UDPAddr)(nend))
|
_, err := co.WriteTo(buff, (*net.UDPAddr)(nend))
|
||||||
|
Reference in New Issue
Block a user