mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge pull request #16548 from benpicco/gnrc_ipv6_nib-nce_switch
gnrc_ipv6_nib: get node from proper interface
This commit is contained in:
commit
35e40ce245
@ -228,6 +228,10 @@ int gnrc_ipv6_nib_get_next_hop_l2addr(const ipv6_addr_t *dst,
|
||||
/* release pre-assumed netif */
|
||||
gnrc_netif_release(netif);
|
||||
netif = _acquire_new_iface(iface);
|
||||
/* get node from proper interface */
|
||||
if (netif != NULL) {
|
||||
node = _nib_onl_get(dst, netif->pid);
|
||||
}
|
||||
}
|
||||
if ((netif == NULL) ||
|
||||
!_resolve_addr(dst, netif, pkt, nce, node)) {
|
||||
|
Loading…
Reference in New Issue
Block a user