mirror of
https://github.com/espressif/openthread.git
synced 2026-09-12 04:00:10 +00:00
[github-actions] migrate more checks from Travis (#4746)
- gn-build - distcheck - posix-spi - posix-ncp-rcp migrate - time sync
This commit is contained in:
@@ -196,7 +196,7 @@ static void socket_init(void)
|
||||
sPortOffset *= WELLKNOWN_NODE_ID;
|
||||
}
|
||||
|
||||
sockaddr.sin_port = htons(9000 + sPortOffset + gNodeId);
|
||||
sockaddr.sin_port = htons((uint16_t)(9000 + sPortOffset + gNodeId));
|
||||
sockaddr.sin_addr.s_addr = INADDR_ANY;
|
||||
|
||||
sSockFd = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP);
|
||||
|
||||
Reference in New Issue
Block a user