Merge pull request #581 from robertfoss/dev

Added USE_DNS define.
This commit is contained in:
zeroday 2015-08-02 23:40:37 +08:00
commit c19596cae8
2 changed files with 35 additions and 30 deletions

View File

@ -51,6 +51,11 @@ typedef struct _list_node{
#define DHCPS_SERVER_PORT 67 #define DHCPS_SERVER_PORT 67
#define DHCPS_CLIENT_PORT 68 #define DHCPS_CLIENT_PORT 68
/*
* Advertise DNS capability in DHCP OFFER
*/
#define USE_DNS 0
#define DHCPDISCOVER 1 #define DHCPDISCOVER 1
#define DHCPOFFER 2 #define DHCPOFFER 2
#define DHCPREQUEST 3 #define DHCPREQUEST 3