Skip to content

Commit 1ac77d7

Browse files
authoredMar 12, 2025··
[SL-TEMP] OT_NETIF_THREAD_HOST (#319)
1 parent f82ef16 commit 1ac77d7

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed
 

‎src/inet/UDPEndPointImplOpenThread.cpp

+6-1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@
2727

2828
#include <system/SystemPacketBuffer.h>
2929

30+
// Temporary until we manage to update the OT version in the CI
31+
#ifndef OT_NETIF_THREAD_HOST
32+
#define OT_NETIF_THREAD_HOST OT_NETIF_THREAD
33+
#endif
34+
3035
namespace chip {
3136
namespace Inet {
3237

@@ -127,7 +132,7 @@ CHIP_ERROR UDPEndPointImplOT::IPv6Bind(otUdpSocket & socket, const IPAddress & a
127132

128133
LockOpenThread();
129134
otUdpOpen(mOTInstance, &socket, handleUdpReceive, this);
130-
otUdpBind(mOTInstance, &socket, &listenSockAddr, OT_NETIF_THREAD);
135+
otUdpBind(mOTInstance, &socket, &listenSockAddr, OT_NETIF_THREAD_HOST);
131136
UnlockOpenThread();
132137

133138
return chip::DeviceLayer::Internal::MapOpenThreadError(err);

0 commit comments

Comments
 (0)
Please sign in to comment.