Some options are never sent to ifchd, but we unfortunately would need to

sacrifice type checking to remove them from the options table.  It may
be worth doing that, but I want to audit each call point before.
This commit is contained in:
Nicholas J. Kain
2011-07-25 04:26:34 -04:00
parent e4a4c58856
commit 31d6d4cd92
5 changed files with 20 additions and 15 deletions

View File

@ -30,6 +30,7 @@
#include "dhcp.h"
#define DCODE_PADDING 0x00
#define DCODE_SUBNET 0x01
#define DCODE_TIMEZONE 0x02
#define DCODE_ROUTER 0x03
@ -42,10 +43,10 @@
#define DCODE_BROADCAST 0x1c
#define DCODE_NTPSVR 0x2a
#define DCODE_WINS 0x2c
#define DCODE_REQUESTED_IP 0x32
#define DCODE_LEASE_TIME 0x33
#define DCODE_REQIP 0x32
#define DCODE_LEASET 0x33
#define DCODE_OVERLOAD 0x34
#define DCODE_MESSAGE_TYPE 0x35
#define DCODE_MSGTYPE 0x35
#define DCODE_SERVER_ID 0x36
#define DCODE_PARAM_REQ 0x37
#define DCODE_MAX_SIZE 0x39