mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 06:23:53 +01:00
tests/lwip_sock_*: adapt for address zoning
This commit is contained in:
parent
6822f90004
commit
7fd55803ee
@ -235,6 +235,8 @@ void _prepare_send_checks(void)
|
||||
if (nc->state == ND6_NO_ENTRY) {
|
||||
nc->state = ND6_REACHABLE;
|
||||
memcpy(&nc->next_hop_address, remote6, sizeof(ip6_addr_t));
|
||||
ip6_addr_assign_zone(&nc->next_hop_address,
|
||||
IP6_UNICAST, &netif);
|
||||
memcpy(&nc->lladdr, mac, 6);
|
||||
nc->netif = &netif;
|
||||
nc->counter.reachable_time = UINT32_MAX;
|
||||
|
||||
@ -237,6 +237,8 @@ void _prepare_send_checks(void)
|
||||
if (nc->state == ND6_NO_ENTRY) {
|
||||
nc->state = ND6_REACHABLE;
|
||||
memcpy(&nc->next_hop_address, remote6, sizeof(ip6_addr_t));
|
||||
ip6_addr_assign_zone(&nc->next_hop_address,
|
||||
IP6_UNICAST, &netif);
|
||||
memcpy(&nc->lladdr, mac, 6);
|
||||
nc->netif = &netif;
|
||||
nc->counter.reachable_time = UINT32_MAX;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user