Browse Source

Fixed icmp.c after 1.4.0-based patch #45120

STABLE-2_1_x
sg 11 years ago
parent
commit
05abfc8ded
  1. 2
      src/core/ipv4/icmp.c

2
src/core/ipv4/icmp.c

@ -209,7 +209,7 @@ icmp_input(struct pbuf *p, struct netif *inp)
else
#endif
{
src = ip_current_dest_addr();
src = ip4_current_dest_addr();
}
ip4_addr_copy(iphdr->src, *src);
ip4_addr_copy(iphdr->dest, *ip4_current_src_addr());

Loading…
Cancel
Save