Add define for advertising DNS in the DHCP OFFER message.

This commit is contained in:
Robert Foss 2015-07-28 16:32:38 +02:00
parent 00e1e6bcbe
commit 5822d4c4ed
1 changed files with 5 additions and 0 deletions

View File

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