Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/core/ipv4/ip4.c
Original file line number Diff line number Diff line change
Expand Up @@ -1126,7 +1126,9 @@ ip4_output_hinted(struct pbuf *p, const ip4_addr_t *src, const ip4_addr_t *dest,
void
ip4_debug_print(struct pbuf *p)
{
#if defined(LWIP_DEBUG) && (IP_DEBUG == LWIP_DBG_ON)
struct ip_hdr *iphdr = (struct ip_hdr *)p->payload;
#endif

LWIP_DEBUGF(IP_DEBUG, ("IP header:\n"));
LWIP_DEBUGF(IP_DEBUG, ("+-------------------------------+\n"));
Expand Down