← Commit list

b386c1c61

Denis Vlasenko
Denis Vlasenko
2008-02-04
FAILED Duration: 14s

Subject

udhcp: ifdef out unused members

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

networking/udhcp/dhcpc.h+2 -0
@@ -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) */
};
networking/udhcp/dhcpd.h+2 -0
@@ -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 */