mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-26 03:16:18 +00:00
Fixed udp_sendto() -> instead of .
This commit is contained in:
parent
a916de3b66
commit
fda71b1230
@ -343,7 +343,7 @@ udp_sendto(struct udp_pcb *pcb, struct pbuf *p,
|
|||||||
pcb_remote_ip.addr = pcb->remote_ip.addr;
|
pcb_remote_ip.addr = pcb->remote_ip.addr;
|
||||||
pcb_remote_port = pcb->remote_port;
|
pcb_remote_port = pcb->remote_port;
|
||||||
/* copy packet destination address to PCB remote peer address */
|
/* 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;
|
pcb->remote_port = dst_port;
|
||||||
/* send to the packet destination address */
|
/* send to the packet destination address */
|
||||||
err = udp_send(pcb, p);
|
err = udp_send(pcb, p);
|
||||||
|
Loading…
Reference in New Issue
Block a user