diff options
Diffstat (limited to 'networking/udhcp/options.c')
-rw-r--r-- | networking/udhcp/options.c | 7 |
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 */ |
19 | struct dhcp_option options[] = { | 18 | struct 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}, |