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)); diff --git a/openthread b/openthread index ae5b750d..473af531 160000 --- a/openthread +++ b/openthread @@ -1 +1 @@ -Subproject commit ae5b750d304466de8cb43664969881787a94742f +Subproject commit 473af53155ec336d843e083cd6b70a7046560caa