Update some comments
This commit is contained in:
parent
eea69cf6e3
commit
6158086dd4
|
@ -1 +1 @@
|
|||
Subproject commit cae6e67e0534485cd42119346a2e0121d6652965
|
||||
Subproject commit 8a30728ae9a64496f0c9a0ff5dd62bd3b022c145
|
|
@ -406,6 +406,15 @@ int gethostbyaddr_r(FAR const void *addr, socklen_t len, int type,
|
|||
}
|
||||
#endif
|
||||
|
||||
/* TODO:
|
||||
*
|
||||
* 1. Look in the DNS cache to see if we have the address mapping already
|
||||
* in place. If not,
|
||||
* 2. Perform a reverse DNS lookup. And if that fails as well, then
|
||||
* finally
|
||||
* 3. Search the hosts file for a match.
|
||||
*/
|
||||
|
||||
/* Search the hosts file for a match */
|
||||
|
||||
return lib_hostfile_lookup(addr, len, type, host, but, buflen, h_errnop);
|
||||
|
|
Loading…
Reference in New Issue