gnrc_ipv6_nib: return registration state on upstream registration
The function `_update_nce_ar_state()` was introduced during the review of \#7424, but it's return value never used, causing faulty behavior.
This commit is contained in:
parent
8d941d59ea
commit
eb76e8034d
@ -68,7 +68,7 @@ uint8_t _reg_addr_upstream(kernel_pid_t iface, const ipv6_hdr_t *ipv6,
|
|||||||
#endif
|
#endif
|
||||||
if (byteorder_ntohs(aro->ltime) != 0) {
|
if (byteorder_ntohs(aro->ltime) != 0) {
|
||||||
_handle_sl2ao(iface, ipv6, icmpv6, sl2ao);
|
_handle_sl2ao(iface, ipv6, icmpv6, sl2ao);
|
||||||
_update_nce_ar_state(aro, nce);
|
return _update_nce_ar_state(aro, nce);
|
||||||
}
|
}
|
||||||
else if (nce != NULL) {
|
else if (nce != NULL) {
|
||||||
_nib_nc_remove(nce);
|
_nib_nc_remove(nce);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user