aboutsummaryrefslogtreecommitdiff
path: root/networking/udhcp/serverpacket.c
diff options
context:
space:
mode:
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 157d157ba..6aa2d34fa 100644
--- a/networking/udhcp/serverpacket.c
+++ b/networking/udhcp/serverpacket.c
@@ -132,7 +132,7 @@ int FAST_FUNC send_offer(struct dhcpMessage *oldpacket)
132 signed_leasetime_t tmp = lease->expires - time(NULL); 132 signed_leasetime_t tmp = lease->expires - time(NULL);
133 if (tmp >= 0) 133 if (tmp >= 0)
134 lease_time_aligned = tmp; 134 lease_time_aligned = tmp;
135 packet.yiaddr = lease->yiaddr; 135 packet.yiaddr = lease->lease_nip;
136 } 136 }
137 /* Or the client has requested an IP */ 137 /* Or the client has requested an IP */
138 else if ((req = get_option(oldpacket, DHCP_REQUESTED_IP)) != NULL 138 else if ((req = get_option(oldpacket, DHCP_REQUESTED_IP)) != NULL