Skip to content

Commit

Permalink
dhcp: Remove invalid warning in dhcp-state related logs
Browse files Browse the repository at this point in the history
Introduced in 1343f47
  • Loading branch information
david-cermak committed Aug 21, 2024
1 parent bced058 commit f1c0a3d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/core/ipv4/dhcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1109,7 +1109,6 @@ dhcp_discover(struct netif *netif)
ip4_addr_set_any(&dhcp->offered_ip_addr);
dhcp_set_state(dhcp, DHCP_STATE_SELECTING);
LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_STATE, ("dhcp_discover(): dhcp state is DISCOVER\n"));
LWIP_DEBUGF(DHCP_DEBUG | LWIP_DBG_TRACE | LWIP_DBG_LEVEL_WARNING, ("dhcp_select: could not allocate DHCP request\n"));
/* create and initialize the DHCP message header */
p_out = dhcp_create_msg(netif, dhcp, DHCP_DISCOVER, &options_out_len);
if (p_out != NULL) {
Expand Down

0 comments on commit f1c0a3d

Please sign in to comment.