From bbc33080e7af3e3eab87692a4cba5817329426bd Mon Sep 17 00:00:00 2001 From: marcbou Date: Thu, 19 Jun 2003 11:15:39 +0000 Subject: [PATCH] Merged from DEVEL. --- src/core/udp.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/core/udp.c b/src/core/udp.c index 919e2d84..063b3d56 100644 --- a/src/core/udp.c +++ b/src/core/udp.c @@ -457,7 +457,9 @@ udp_bind(struct udp_pcb *pcb, struct ip_addr *ipaddr, u16_t port) { struct udp_pcb *ipcb; u8_t rebind; - LWIP_DEBUGF(UDP_DEBUG | DBG_TRACE | 3, ("udp_bind(ipaddr = %lx, port = %u)\n", ipaddr->addr, port)); + LWIP_DEBUGF(UDP_DEBUG | DBG_TRACE | 3, ("udp_bind(ipaddr = ")); + ip_addr_debug_print(UDP_DEBUG, ipaddr); + LWIP_DEBUGF(UDP_DEBUG | DBG_TRACE | 3, (", port = %u)\n", port)); rebind = 0; /* Check for double bind and rebind of the same pcb */ for (ipcb = udp_pcbs; ipcb != NULL; ipcb = ipcb->next) {