summaryrefslogtreecommitdiff
path: root/networking/udhcp/serverpacket.c
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/serverpacket.c
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/serverpacket.c')
-rw-r--r--networking/udhcp/serverpacket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/udhcp/serverpacket.c b/networking/udhcp/serverpacket.c
index 157d157..6aa2d34 100644
--- a/networking/udhcp/serverpacket.c
+++ b/networking/udhcp/serverpacket.c
@@ -132,7 +132,7 @@ int FAST_FUNC send_offer(struct dhcpMessage *oldpacket)
signed_leasetime_t tmp = lease->expires - time(NULL);
if (tmp >= 0)
lease_time_aligned = tmp;
- packet.yiaddr = lease->yiaddr;
+ packet.yiaddr = lease->lease_nip;
}
/* Or the client has requested an IP */
else if ((req = get_option(oldpacket, DHCP_REQUESTED_IP)) != NULL