summaryrefslogtreecommitdiff
path: root/networking/udhcp/clientpacket.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/udhcp/clientpacket.c')
-rw-r--r--networking/udhcp/clientpacket.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/networking/udhcp/clientpacket.c b/networking/udhcp/clientpacket.c
index a0be42885..b4a75be02 100644
--- a/networking/udhcp/clientpacket.c
+++ b/networking/udhcp/clientpacket.c
@@ -156,20 +156,7 @@ int FAST_FUNC send_renew(uint32_t xid, uint32_t server, uint32_t ciaddr)
156 156
157 init_packet(&packet, DHCPREQUEST); 157 init_packet(&packet, DHCPREQUEST);
158 packet.xid = xid; 158 packet.xid = xid;
159 /* RFC 2131:
160 * "3.2 Client-server interaction - reusing a previously
161 * allocated network address"...
162 * The client broadcasts a DHCPREQUEST message on its local subnet.
163 * The message includes the client's network address in the
164 * REQUESTED_IP option. As the client has not received its
165 * network address, it MUST NOT fill in the 'ciaddr' field."
166 *
167 * FIXME: we seem to not follow this, we do set ciaddr.
168 */
169 packet.ciaddr = ciaddr; 159 packet.ciaddr = ciaddr;
170 add_simple_option(packet.options, DHCP_REQUESTED_IP, ciaddr);
171 if (server)
172 add_simple_option(packet.options, DHCP_SERVER_ID, server);
173 add_param_req_option(&packet); 160 add_param_req_option(&packet);
174 161
175 bb_info_msg("Sending renew..."); 162 bb_info_msg("Sending renew...");