diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-06-16 10:23:01 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-06-16 10:23:01 +0200 |
commit | 1d924f59b1854e9638c63a743642e63c1bef38b9 (patch) | |
tree | 9cee2a7da051fb217fb610e7509d5dfd3657da47 /networking/udhcp/dhcpd.h | |
parent | 47f2d7ef7d4dbeea19a55f9d73ef826f9d06650f (diff) | |
download | busybox-w32-1d924f59b1854e9638c63a743642e63c1bef38b9.tar.gz busybox-w32-1d924f59b1854e9638c63a743642e63c1bef38b9.tar.bz2 busybox-w32-1d924f59b1854e9638c63a743642e63c1bef38b9.zip |
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.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/networking/udhcp/dhcpd.h b/networking/udhcp/dhcpd.h index 4b5fcc00f..a3ace92d4 100644 --- a/networking/udhcp/dhcpd.h +++ b/networking/udhcp/dhcpd.h | |||
@@ -78,9 +78,9 @@ typedef uint32_t leasetime_t; | |||
78 | typedef int32_t signed_leasetime_t; | 78 | typedef int32_t signed_leasetime_t; |
79 | 79 | ||
80 | struct dhcpOfferedAddr { | 80 | struct dhcpOfferedAddr { |
81 | uint8_t chaddr[16]; | 81 | uint8_t lease_mac16[16]; |
82 | /* In network order */ | 82 | /* "nip": IP in network order */ |
83 | uint32_t yiaddr; | 83 | uint32_t lease_nip; |
84 | /* Unix time when lease expires, regardless of value of | 84 | /* Unix time when lease expires, regardless of value of |
85 | * server_config.remaining. Kept in memory in host order. | 85 | * server_config.remaining. Kept in memory in host order. |
86 | * When written to file, converted to network order | 86 | * When written to file, converted to network order |