mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-10-06 05:43:01 +00:00
NET: Rename uiplib/UIPLIB to netlib/NETLIB
This commit is contained in:
parent
79aa55183c
commit
2ee5041477
53 changed files with 109 additions and 109 deletions
|
|
@ -60,7 +60,7 @@
|
|||
#include <arpa/inet.h>
|
||||
|
||||
#include <apps/netutils/dnsclient.h>
|
||||
#include <apps/netutils/uiplib.h>
|
||||
#include <apps/netutils/netlib.h>
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
|
|
@ -515,7 +515,7 @@ int dns_query_sock(int sockfd, FAR const char *hostname, FAR in_addr_t *ipaddr)
|
|||
|
||||
/* First check if the host is an IP address. */
|
||||
|
||||
if (!uiplib_ipaddrconv(hostname, (uint8_t*)ipaddr))
|
||||
if (!netlib_ipaddrconv(hostname, (uint8_t*)ipaddr))
|
||||
{
|
||||
/* 'host' does not point to a valid address string. Try to resolve
|
||||
* the host name to an IP address.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue