Fixed icmp.c after 1.4.0-based patch #45120

This commit is contained in:
sg 2015-08-19 22:14:37 +02:00
parent de8e810792
commit 05abfc8ded

View File

@ -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());