diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-03-31 12:33:52 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-03-31 12:33:52 -0600 |
commit | 8e3d1b457ce29fdff04cebb70235a5a2ceb85705 (patch) | |
tree | 069e8f2997bd4b8e4807c836259d949cd80a76dd /apps/netutils | |
parent | ceaab68ab85dbb6e92dbbfdb7bd09260bb28b43b (diff) | |
download | nuttx-8e3d1b457ce29fdff04cebb70235a5a2ceb85705.tar.gz nuttx-8e3d1b457ce29fdff04cebb70235a5a2ceb85705.tar.bz2 nuttx-8e3d1b457ce29fdff04cebb70235a5a2ceb85705.zip |
DHCPD: Correct value of PAD option is 0, not 1. From Brennan Ashton
Diffstat (limited to 'apps/netutils')
-rw-r--r-- | apps/netutils/dhcpd/dhcpd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/netutils/dhcpd/dhcpd.c b/apps/netutils/dhcpd/dhcpd.c index ff6eabf94..0f89daa81 100644 --- a/apps/netutils/dhcpd/dhcpd.c +++ b/apps/netutils/dhcpd/dhcpd.c @@ -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 */ |