Correct and standardize some naming used in the previous commits.

This commit is contained in:
Gregory Nutt
2017-10-30 14:16:37 -06:00
parent dafc88ed25
commit 6b9d23c6aa
29 changed files with 51 additions and 51 deletions

View File

@@ -101,7 +101,7 @@ int netlib_getifstatus(FAR const char *ifname, FAR uint8_t *flags)
{
/* Get a socket (only so that we get access to the INET subsystem) */
int sockfd = socket(AF_FAMILY, NETLIB_SOCK_IOCTL, 0);
int sockfd = socket(AF_FAMILY, NETLIB_SOCK_TYPE, 0);
if (sockfd >= 0)
{
struct ifreq req;