aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-03-23 02:17:52 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2010-03-23 02:17:52 +0100
commit6ef8def7cff5a55688ec3cfc7031fe0117c1a348 (patch)
treeb172f60ba4989f4d3b88a8930ded4d1029f73397
parent1497484839efd4c57d63c07e2b92413193a3977f (diff)
downloadbusybox-w32-6ef8def7cff5a55688ec3cfc7031fe0117c1a348.tar.gz
busybox-w32-6ef8def7cff5a55688ec3cfc7031fe0117c1a348.tar.bz2
busybox-w32-6ef8def7cff5a55688ec3cfc7031fe0117c1a348.zip
udhcp: remove two unused fields
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--networking/udhcp/dhcpc.h1
-rw-r--r--networking/udhcp/dhcpd.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/networking/udhcp/dhcpc.h b/networking/udhcp/dhcpc.h
index a8861562e..4c173533c 100644
--- a/networking/udhcp/dhcpc.h
+++ b/networking/udhcp/dhcpc.h
@@ -9,7 +9,6 @@ struct client_config_t {
9 char no_default_options; /* Do not include default options in request */ 9 char no_default_options; /* Do not include default options in request */
10 IF_FEATURE_UDHCP_PORT(uint16_t port;) 10 IF_FEATURE_UDHCP_PORT(uint16_t port;)
11 int ifindex; /* Index number of the interface to use */ 11 int ifindex; /* Index number of the interface to use */
12 int verbose;
13 uint8_t opt_mask[256 / 8]; /* Bitmask of options to send (-O option) */ 12 uint8_t opt_mask[256 / 8]; /* Bitmask of options to send (-O option) */
14 const char *interface; /* The name of the interface to use */ 13 const char *interface; /* The name of the interface to use */
15 char *pidfile; /* Optionally store the process ID */ 14 char *pidfile; /* Optionally store the process ID */
diff --git a/networking/udhcp/dhcpd.h b/networking/udhcp/dhcpd.h
index 2f2f5b33a..b163ce7eb 100644
--- a/networking/udhcp/dhcpd.h
+++ b/networking/udhcp/dhcpd.h
@@ -39,7 +39,6 @@ struct server_config_t {
39#endif 39#endif
40 uint8_t server_mac[6]; /* our MAC address (used only for ARP probing) */ 40 uint8_t server_mac[6]; /* our MAC address (used only for ARP probing) */
41 struct option_set *options; /* list of DHCP options loaded from the config file */ 41 struct option_set *options; /* list of DHCP options loaded from the config file */
42 int verbose;
43 /* start,end are in host order: we need to compare start <= ip <= end */ 42 /* start,end are in host order: we need to compare start <= ip <= end */
44 uint32_t start_ip; /* start address of leases, in host order */ 43 uint32_t start_ip; /* start address of leases, in host order */
45 uint32_t end_ip; /* end of leases, in host order */ 44 uint32_t end_ip; /* end of leases, in host order */