summaryrefslogtreecommitdiff
path: root/networking/udhcp/dhcpd.h
diff options
context:
space:
mode:
authorDenis Vlasenko2008-02-04 13:23:53 +0000
committerDenis Vlasenko2008-02-04 13:23:53 +0000
commitb386c1c614a94b847da7d059367bc9d4fcb33f14 (patch)
tree4a27e3a393dc08cd03ee88ce5db185b449c130ac /networking/udhcp/dhcpd.h
parentd55fe3e595eb0aad60484d273e251cfee4ef8aa5 (diff)
downloadbusybox-b386c1c614a94b847da7d059367bc9d4fcb33f14.zip
busybox-b386c1c614a94b847da7d059367bc9d4fcb33f14.tar.gz
udhcp: ifdef out unused members
Diffstat (limited to 'networking/udhcp/dhcpd.h')
-rw-r--r--networking/udhcp/dhcpd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/networking/udhcp/dhcpd.h b/networking/udhcp/dhcpd.h
index fe45ca3..d97c8b8 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 */