udhcp: ifdef out unused members

This commit is contained in:
Denis Vlasenko
2008-02-04 13:23:53 +00:00
parent d55fe3e595
commit b386c1c614
2 changed files with 4 additions and 0 deletions

View File

@ -29,7 +29,9 @@ struct client_config_t {
uint8_t *hostname; /* Optional hostname to use */
uint8_t *fqdn; /* Optional fully qualified domain name to use */
int ifindex; /* Index number of the interface to use */
#if ENABLE_FEATURE_UDHCP_PORT
uint16_t port;
#endif
uint8_t arp[6]; /* Our arp address */
uint8_t opt_mask[256 / 8]; /* Bitmask of options to send (-O option) */
};