diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-02-04 13:23:53 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-02-04 13:23:53 +0000 |
commit | b386c1c614a94b847da7d059367bc9d4fcb33f14 (patch) | |
tree | 4a27e3a393dc08cd03ee88ce5db185b449c130ac /networking/udhcp/dhcpc.h | |
parent | d55fe3e595eb0aad60484d273e251cfee4ef8aa5 (diff) | |
download | busybox-w32-b386c1c614a94b847da7d059367bc9d4fcb33f14.tar.gz busybox-w32-b386c1c614a94b847da7d059367bc9d4fcb33f14.tar.bz2 busybox-w32-b386c1c614a94b847da7d059367bc9d4fcb33f14.zip |
udhcp: ifdef out unused members
Diffstat (limited to 'networking/udhcp/dhcpc.h')
-rw-r--r-- | networking/udhcp/dhcpc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/networking/udhcp/dhcpc.h b/networking/udhcp/dhcpc.h index 4b8f3ec98..d0fde7302 100644 --- a/networking/udhcp/dhcpc.h +++ b/networking/udhcp/dhcpc.h | |||
@@ -29,7 +29,9 @@ struct client_config_t { | |||
29 | uint8_t *hostname; /* Optional hostname to use */ | 29 | uint8_t *hostname; /* Optional hostname to use */ |
30 | uint8_t *fqdn; /* Optional fully qualified domain name to use */ | 30 | uint8_t *fqdn; /* Optional fully qualified domain name to use */ |
31 | int ifindex; /* Index number of the interface to use */ | 31 | int ifindex; /* Index number of the interface to use */ |
32 | #if ENABLE_FEATURE_UDHCP_PORT | ||
32 | uint16_t port; | 33 | uint16_t port; |
34 | #endif | ||
33 | uint8_t arp[6]; /* Our arp address */ | 35 | uint8_t arp[6]; /* Our arp address */ |
34 | uint8_t opt_mask[256 / 8]; /* Bitmask of options to send (-O option) */ | 36 | uint8_t opt_mask[256 / 8]; /* Bitmask of options to send (-O option) */ |
35 | }; | 37 | }; |