Skip to content

Commit

Permalink
examples: OT_NETIF_THREAD -> OT_NETIF_THREAD_INTERNAL
Browse files Browse the repository at this point in the history
  • Loading branch information
jwhui committed Dec 2, 2024
1 parent 04edb15 commit 1b87719
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/sleepy-demo/sleepy-ftd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down
2 changes: 1 addition & 1 deletion examples/sleepy-demo/sleepy-mtd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down
2 changes: 1 addition & 1 deletion examples/sleepy-demo/sleepy-ssed.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 1b87719

Please sign in to comment.