diff --git a/examples/sleepy-demo/sleepy-ftd.c b/examples/sleepy-demo/sleepy-ftd.c index abf93f40..23b16047 100644 --- a/examples/sleepy-demo/sleepy-ftd.c +++ b/examples/sleepy-demo/sleepy-ftd.c @@ -141,7 +141,7 @@ void initUdp(void) } // Bind to the socket. Close the socket if bind fails. - error = otUdpBind(otGetInstance(), &sFtdSocket, &bindAddr, OT_NETIF_THREAD); + error = otUdpBind(otGetInstance(), &sFtdSocket, &bindAddr, OT_NETIF_THREAD_INTERNAL); if (error != OT_ERROR_NONE) { otCliOutputFormat("FTD failed to bind udp multicast with: %d, %s\r\n", error, otThreadErrorToString(error)); diff --git a/examples/sleepy-demo/sleepy-mtd.c b/examples/sleepy-demo/sleepy-mtd.c index 3d72b512..c9ba879f 100644 --- a/examples/sleepy-demo/sleepy-mtd.c +++ b/examples/sleepy-demo/sleepy-mtd.c @@ -175,7 +175,7 @@ void initUdp(void) } // Bind to the socket. Close the socket if bind fails. - error = otUdpBind(otGetInstance(), &sMtdSocket, &bindAddr, OT_NETIF_THREAD); + error = otUdpBind(otGetInstance(), &sMtdSocket, &bindAddr, OT_NETIF_THREAD_INTERNAL); if (error != OT_ERROR_NONE) { otCliOutputFormat("MTD failed to bind udp socket with: %d, %s\r\n", error, otThreadErrorToString(error)); diff --git a/examples/sleepy-demo/sleepy-ssed.c b/examples/sleepy-demo/sleepy-ssed.c index 38c862b3..0a1e9092 100644 --- a/examples/sleepy-demo/sleepy-ssed.c +++ b/examples/sleepy-demo/sleepy-ssed.c @@ -180,7 +180,7 @@ void initUdp(void) } // Bind to the socket. Close the socket if bind fails. - error = otUdpBind(otGetInstance(), &sSsedSocket, &bindAddr, OT_NETIF_THREAD); + error = otUdpBind(otGetInstance(), &sSsedSocket, &bindAddr, OT_NETIF_THREAD_INTERNAL); if (error != OT_ERROR_NONE) { otCliOutputFormat("SSED failed to bind udp socket with: %d, %s\r\n", error, otThreadErrorToString(error));