From b386c1c614a94b847da7d059367bc9d4fcb33f14 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Mon, 4 Feb 2008 13:23:53 +0000 Subject: udhcp: ifdef out unused members --- networking/udhcp/dhcpd.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'networking/udhcp/dhcpd.h') diff --git a/networking/udhcp/dhcpd.h b/networking/udhcp/dhcpd.h index fe45ca312..d97c8b8f7 100644 --- a/networking/udhcp/dhcpd.h +++ b/networking/udhcp/dhcpd.h @@ -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 */ -- cgit v1.2.3