mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-19 19:44:35 +08:00
Correct and standardize some naming used in the previous commits.
This commit is contained in:
@@ -107,7 +107,7 @@ static int _netlib_ipv4adaptor(in_addr_t destipaddr, FAR in_addr_t *srcipaddr)
|
||||
ifc.ifc_req = NULL;
|
||||
ifc.ifc_len = 0;
|
||||
|
||||
sd = socket(AF_INET, NETLIB_SOCK_IOCTL, 0);
|
||||
sd = socket(AF_INET, NETLIB_SOCK_TYPE, 0);
|
||||
if (sd < 0)
|
||||
{
|
||||
ret = -errno;
|
||||
|
Reference in New Issue
Block a user