mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 09:18:00 +08:00
NETDB: Make sure that we have a valid DNS server address before attempting DNS queuries; Provide an optional default DNS server address in the configuration
This commit is contained in:
@@ -123,6 +123,10 @@
|
||||
#define DNS_FLAG2_ERR_NONE 0x00
|
||||
#define DNS_FLAG2_ERR_NAME 0x03
|
||||
|
||||
/* Default DNS server port number */
|
||||
|
||||
#define DNS_DEFAULT_PORT 53
|
||||
|
||||
/****************************************************************************
|
||||
* Public Type Definitions
|
||||
****************************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user