mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-18 17:32:09 +08:00
Correct and standardize some naming used in the previous commits.
This commit is contained in:
@@ -83,7 +83,7 @@ int netlib_getpanid(FAR const char *ifname, FAR uint8_t *panid)
|
||||
{
|
||||
/* Get a socket (only so that we get access to the INET subsystem) */
|
||||
|
||||
int sockfd = socket(PF_INET6, NETLIB_SOCK_IOCTL, 0);
|
||||
int sockfd = socket(PF_INET6, NETLIB_SOCK_TYPE, 0);
|
||||
if (sockfd >= 0)
|
||||
{
|
||||
/* Perform the IOCTL */
|
||||
|
Reference in New Issue
Block a user