mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-19 11:23:07 +08:00
Correct and standardize some naming used in the previous commits.
This commit is contained in:
@@ -81,7 +81,7 @@ int netlib_get_arpmapping(FAR const struct sockaddr_in *inaddr,
|
||||
|
||||
if (inaddr != NULL && macaddr != NULL)
|
||||
{
|
||||
int sockfd = socket(PF_INET, NETLIB_SOCK_IOCTL, 0);
|
||||
int sockfd = socket(PF_INET, NETLIB_SOCK_TYPE, 0);
|
||||
if (sockfd >= 0)
|
||||
{
|
||||
struct arpreq req;
|
||||
|
Reference in New Issue
Block a user