summaryrefslogtreecommitdiff
path: root/networking/udhcp/dhcpd.h
diff options
context:
space:
mode:
authorDenys Vlasenko2010-03-28 00:02:20 +0100
committerDenys Vlasenko2010-03-28 00:02:20 +0100
commitc8a2ab1023f80e0088e2b83abc2fb2470dd63773 (patch)
tree85f7bf3b9ae1167bab5735ce289245d961aaef93 /networking/udhcp/dhcpd.h
parent406bd1441694ad441fed852bf17e79020fdd44e5 (diff)
downloadbusybox-c8a2ab1023f80e0088e2b83abc2fb2470dd63773.zip
busybox-c8a2ab1023f80e0088e2b83abc2fb2470dd63773.tar.gz
dumpleases: better help text
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/udhcp/dhcpd.h')
-rw-r--r--networking/udhcp/dhcpd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/udhcp/dhcpd.h b/networking/udhcp/dhcpd.h
index 149300b..eea9017 100644
--- a/networking/udhcp/dhcpd.h
+++ b/networking/udhcp/dhcpd.h
@@ -71,11 +71,11 @@ typedef uint32_t leasetime_t;
typedef int32_t signed_leasetime_t;
struct dyn_lease {
- /* "nip": IP in network order */
/* Unix time when lease expires. Kept in memory in host order.
* When written to file, converted to network order
* and adjusted (current time subtracted) */
leasetime_t expires;
+ /* "nip": IP in network order */
uint32_t lease_nip;
/* We use lease_mac[6], since e.g. ARP probing uses
* only 6 first bytes anyway. We check received dhcp packets