mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-05 08:28:32 +00:00
Fixed icmp.c after 1.4.0-based patch #45120
This commit is contained in:
parent
de8e810792
commit
05abfc8ded
@ -209,7 +209,7 @@ icmp_input(struct pbuf *p, struct netif *inp)
|
|||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
src = ip_current_dest_addr();
|
src = ip4_current_dest_addr();
|
||||||
}
|
}
|
||||||
ip4_addr_copy(iphdr->src, *src);
|
ip4_addr_copy(iphdr->src, *src);
|
||||||
ip4_addr_copy(iphdr->dest, *ip4_current_src_addr());
|
ip4_addr_copy(iphdr->dest, *ip4_current_src_addr());
|
||||||
|
Loading…
Reference in New Issue
Block a user