DHCPD: Correct value of PAD option is 0, not 1. From Brennan Ashton

This commit is contained in:
Gregory Nutt 2014-03-31 12:33:52 -06:00
parent c6743d9d28
commit 217aa7835e
2 changed files with 3 additions and 1 deletions

View File

@ -869,4 +869,6 @@
* apps/system/usbmsc: Back out the USBMSC daemon... it is no longer
needed with the recent fix to the USBMSC class driver (2014-3-25).
* apps/examplex/lcdrw: Fill out empty Kconfig file (2014-2-27).
* apps/netutils/dhcpd/dhcpd.c: The correct value of the PAD option
is zero, not one. From Brennan Ashton (2014-3-31).

View File

@ -84,7 +84,7 @@
/* Option codes understood in this file */
/* Code Data Description */
/* Length */
#define DHCP_OPTION_PAD 1 /* 1 Pad */
#define DHCP_OPTION_PAD 0 /* 1 Pad */
#define DHCP_OPTION_REQ_IPADDR 50 /* 4 Requested IP Address */
#define DHCP_OPTION_LEASE_TIME 51 /* 4 IP address lease time */
#define DHCP_OPTION_OVERLOAD 52 /* 1 Option overload */