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

@@ -28,7 +28,9 @@ struct static_lease {
struct server_config_t {
uint32_t server; /* Our IP, in network order */
#if ENABLE_FEATURE_UDHCP_PORT
uint16_t port;
#endif
/* start,end are in host order: we need to compare start <= ip <= end */
uint32_t start_ip; /* Start address of leases, in host order */
uint32_t end_ip; /* End of leases, in host order */