summaryrefslogtreecommitdiff
path: root/networking/udhcp/dhcpd.h
diff options
context:
space:
mode:
authorDenys Vlasenko2009-06-16 10:23:01 +0200
committerDenys Vlasenko2009-06-16 10:23:01 +0200
commit1d924f59b1854e9638c63a743642e63c1bef38b9 (patch)
tree9cee2a7da051fb217fb610e7509d5dfd3657da47 /networking/udhcp/dhcpd.h
parent47f2d7ef7d4dbeea19a55f9d73ef826f9d06650f (diff)
downloadbusybox-1d924f59b1854e9638c63a743642e63c1bef38b9.zip
busybox-1d924f59b1854e9638c63a743642e63c1bef38b9.tar.gz
udhcp: rename fields in struct dhcpOfferedAddr
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/udhcp/dhcpd.h')
-rw-r--r--networking/udhcp/dhcpd.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/networking/udhcp/dhcpd.h b/networking/udhcp/dhcpd.h
index 4b5fcc0..a3ace92 100644
--- a/networking/udhcp/dhcpd.h
+++ b/networking/udhcp/dhcpd.h
@@ -78,9 +78,9 @@ typedef uint32_t leasetime_t;
typedef int32_t signed_leasetime_t;
struct dhcpOfferedAddr {
- uint8_t chaddr[16];
- /* In network order */
- uint32_t yiaddr;
+ uint8_t lease_mac16[16];
+ /* "nip": IP in network order */
+ uint32_t lease_nip;
/* Unix time when lease expires, regardless of value of
* server_config.remaining. Kept in memory in host order.
* When written to file, converted to network order