From a2e4dd2de7023e76d914ac28df9ef8bb0d382233 Mon Sep 17 00:00:00 2001 From: goldsimon Date: Tue, 25 Jul 2017 21:48:17 +0200 Subject: [PATCH] Minor whitespace cleanups --- src/core/ipv4/dhcp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/ipv4/dhcp.c b/src/core/ipv4/dhcp.c index eecf65af..e66bb50f 100644 --- a/src/core/ipv4/dhcp.c +++ b/src/core/ipv4/dhcp.c @@ -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);