mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-06-01 15:34:05 +08:00
Use new macro ip_addr_copy where applicable
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user