Use new macro ip_addr_copy where applicable

This commit is contained in:
goldsimon
2010-02-14 12:42:49 +00:00
parent 7e0204bb7b
commit 96e9689dbd
9 changed files with 28 additions and 26 deletions

View File

@@ -407,7 +407,7 @@ find_entry(ip_addr_t *ipaddr, u8_t flags)
/* IP address given? */
if (ipaddr != NULL) {
/* set IP address */
ip_addr_set(&arp_table[i].ipaddr, ipaddr);
ip_addr_copy(arp_table[i].ipaddr, *ipaddr);
}
arp_table[i].ctime = 0;
#if LWIP_NETIF_HWADDRHINT