mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-19 05:10:40 +00:00
Minor whitespace cleanups
This commit is contained in:
parent
9b06d71aeb
commit
a2e4dd2de7
@ -22,7 +22,7 @@
|
||||
* to remove the DHCP client.
|
||||
*
|
||||
* @see LWIP_HOOK_DHCP_APPEND_OPTIONS
|
||||
* @see LWIP_HOOK_DHCP_PARSE_OPTION
|
||||
* @see LWIP_HOOK_DHCP_PARSE_OPTION
|
||||
*
|
||||
* @see netifapi_dhcp4
|
||||
*/
|
||||
@ -1881,7 +1881,7 @@ dhcp_create_msg(struct netif *netif, struct dhcp *dhcp, u8_t message_type)
|
||||
/* set ciaddr to netif->ip_addr based on message_type and state */
|
||||
if ((message_type == DHCP_INFORM) || (message_type == DHCP_DECLINE) || (message_type == DHCP_RELEASE) ||
|
||||
((message_type == DHCP_REQUEST) && /* DHCP_STATE_BOUND not used for sending! */
|
||||
((dhcp->state== DHCP_STATE_RENEWING) || dhcp->state== DHCP_STATE_REBINDING))) {
|
||||
((dhcp->state == DHCP_STATE_RENEWING) || dhcp->state == DHCP_STATE_REBINDING))) {
|
||||
ip4_addr_copy(dhcp->msg_out->ciaddr, *netif_ip4_addr(netif));
|
||||
}
|
||||
ip4_addr_set_zero(&dhcp->msg_out->yiaddr);
|
||||
|
Loading…
Reference in New Issue
Block a user