From fda71b123005432eb45363b644f7684d50cb58da Mon Sep 17 00:00:00 2001 From: likewise Date: Thu, 11 Mar 2004 19:52:47 +0000 Subject: [PATCH] Fixed udp_sendto() -> instead of . --- src/core/udp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/udp.c b/src/core/udp.c index 2136bffd..5eb32246 100644 --- a/src/core/udp.c +++ b/src/core/udp.c @@ -343,7 +343,7 @@ udp_sendto(struct udp_pcb *pcb, struct pbuf *p, pcb_remote_ip.addr = pcb->remote_ip.addr; pcb_remote_port = pcb->remote_port; /* copy packet destination address to PCB remote peer address */ - pcb->remote_ip.addr = dst_ip.addr; + pcb->remote_ip.addr = dst_ip->addr; pcb->remote_port = dst_port; /* send to the packet destination address */ err = udp_send(pcb, p);