summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-03-23 01:17:52 (GMT)
committer Denys Vlasenko <vda.linux@googlemail.com>2010-03-23 01:17:52 (GMT)
commit6ef8def7cff5a55688ec3cfc7031fe0117c1a348 (patch)
treeb172f60ba4989f4d3b88a8930ded4d1029f73397
parent1497484839efd4c57d63c07e2b92413193a3977f (diff)
downloadbusybox-6ef8def7cff5a55688ec3cfc7031fe0117c1a348.tar.gz
busybox-6ef8def7cff5a55688ec3cfc7031fe0117c1a348.tar.bz2
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 a886156..4c17353 100644
--- a/networking/udhcp/dhcpc.h
+++ b/networking/udhcp/dhcpc.h
@@ -9,7 +9,6 @@ struct client_config_t {
char no_default_options; /* Do not include default options in request */
IF_FEATURE_UDHCP_PORT(uint16_t port;)
int ifindex; /* Index number of the interface to use */
- int verbose;
uint8_t opt_mask[256 / 8]; /* Bitmask of options to send (-O option) */
const char *interface; /* The name of the interface to use */
char *pidfile; /* Optionally store the process ID */
diff --git a/networking/udhcp/dhcpd.h b/networking/udhcp/dhcpd.h
index 2f2f5b3..b163ce7 100644
--- a/networking/udhcp/dhcpd.h
+++ b/networking/udhcp/dhcpd.h
@@ -39,7 +39,6 @@ struct server_config_t {
#endif
uint8_t server_mac[6]; /* our MAC address (used only for ARP probing) */
struct option_set *options; /* list of DHCP options loaded from the config file */
- int verbose;
/* 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 */