summaryrefslogtreecommitdiff
path: root/networking/udhcp/dhcpc.h
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-06-15 09:58:53 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-06-15 09:58:53 +0000
commitff7cd6f9250b352450bf811a1cc7bca75cc4e2b3 (patch)
tree87331547c319c50d808b5fa2b7e79d8ef64ce071 /networking/udhcp/dhcpc.h
parentf716a6da9a813c2a3987fa334d0cf708129e8f01 (diff)
downloadbusybox-w32-ff7cd6f9250b352450bf811a1cc7bca75cc4e2b3.tar.gz
busybox-w32-ff7cd6f9250b352450bf811a1cc7bca75cc4e2b3.tar.bz2
busybox-w32-ff7cd6f9250b352450bf811a1cc7bca75cc4e2b3.zip
use USE_FEATURE_UDHCP_PORT instead of ifdef
Diffstat (limited to 'networking/udhcp/dhcpc.h')
-rw-r--r--networking/udhcp/dhcpc.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/networking/udhcp/dhcpc.h b/networking/udhcp/dhcpc.h
index 1ebccd405..04e320cf0 100644
--- a/networking/udhcp/dhcpc.h
+++ b/networking/udhcp/dhcpc.h
@@ -13,9 +13,7 @@ struct client_config_t {
13 /* TODO: combine flag fields into single "unsigned opt" */ 13 /* TODO: combine flag fields into single "unsigned opt" */
14 /* (can be set directly to the result of getopt32) */ 14 /* (can be set directly to the result of getopt32) */
15 char no_default_options; /* Do not include default optins in request */ 15 char no_default_options; /* Do not include default optins in request */
16#if ENABLE_FEATURE_UDHCP_PORT 16 USE_FEATURE_UDHCP_PORT(uint16_t port;)
17 uint16_t port;
18#endif
19 int ifindex; /* Index number of the interface to use */ 17 int ifindex; /* Index number of the interface to use */
20 uint8_t opt_mask[256 / 8]; /* Bitmask of options to send (-O option) */ 18 uint8_t opt_mask[256 / 8]; /* Bitmask of options to send (-O option) */
21 const char *interface; /* The name of the interface to use */ 19 const char *interface; /* The name of the interface to use */