aboutsummaryrefslogtreecommitdiff
path: root/networking/udhcp/options.c
diff options
context:
space:
mode:
authorRuss Dill <Russ.Dill@asu.edu>2002-12-11 21:12:45 +0000
committerRuss Dill <Russ.Dill@asu.edu>2002-12-11 21:12:45 +0000
commit1eb7a17b12a6ee3df8849d00d4ebd2c227ccf1f8 (patch)
treed7b4fa1a385e1943afdd111d4c708a64cdd5520f /networking/udhcp/options.c
parentd7e1a6c6ebfeecc1e7ff3982235b6edb84d9a017 (diff)
downloadbusybox-w32-1eb7a17b12a6ee3df8849d00d4ebd2c227ccf1f8.tar.gz
busybox-w32-1eb7a17b12a6ee3df8849d00d4ebd2c227ccf1f8.tar.bz2
busybox-w32-1eb7a17b12a6ee3df8849d00d4ebd2c227ccf1f8.zip
resync with udhcp cvs
Diffstat (limited to 'networking/udhcp/options.c')
-rw-r--r--networking/udhcp/options.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/networking/udhcp/options.c b/networking/udhcp/options.c
index 3f3a38963..58144728e 100644
--- a/networking/udhcp/options.c
+++ b/networking/udhcp/options.c
@@ -13,16 +13,11 @@
13#include "options.h" 13#include "options.h"
14#include "leases.h" 14#include "leases.h"
15 15
16#include "config.h"
17 16
18/* supported options are easily added here */ 17/* supported options are easily added here */
19struct dhcp_option options[] = { 18struct dhcp_option options[] = {
20 /* name[10] flags code */ 19 /* name[10] flags code */
21#ifdef CONFIG_FEATURE_UDHCPC_IP 20 {"subnet", OPTION_IP | OPTION_REQ, 0x01},
22 {"subnet", OPTION_IP | OPTION_REQ | OPTION_PREFIX, 0x01},
23#else
24 {"subnet", OPTION_IP | OPTION_REQ, 0x01},
25#endif
26 {"timezone", OPTION_S32, 0x02}, 21 {"timezone", OPTION_S32, 0x02},
27 {"router", OPTION_IP | OPTION_LIST | OPTION_REQ, 0x03}, 22 {"router", OPTION_IP | OPTION_LIST | OPTION_REQ, 0x03},
28 {"timesvr", OPTION_IP | OPTION_LIST, 0x04}, 23 {"timesvr", OPTION_IP | OPTION_LIST, 0x04},