diff options
Diffstat (limited to 'networking/udhcp/dhcpd.h')
-rw-r--r-- | networking/udhcp/dhcpd.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 { | |||
28 | 28 | ||
29 | struct server_config_t { | 29 | struct server_config_t { |
30 | uint32_t server; /* Our IP, in network order */ | 30 | uint32_t server; /* Our IP, in network order */ |
31 | #if ENABLE_FEATURE_UDHCP_PORT | ||
31 | uint16_t port; | 32 | uint16_t port; |
33 | #endif | ||
32 | /* start,end are in host order: we need to compare start <= ip <= end */ | 34 | /* start,end are in host order: we need to compare start <= ip <= end */ |
33 | uint32_t start_ip; /* Start address of leases, in host order */ | 35 | uint32_t start_ip; /* Start address of leases, in host order */ |
34 | uint32_t end_ip; /* End of leases, in host order */ | 36 | uint32_t end_ip; /* End of leases, in host order */ |