Skip to content
Snippets Groups Projects
Unverified Commit eb76e803 authored by Martine Lenders's avatar Martine Lenders
Browse files

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.
parent 8d941d59
No related branches found
No related tags found
No related merge requests found
......@@ -68,7 +68,7 @@ uint8_t _reg_addr_upstream(kernel_pid_t iface, const ipv6_hdr_t *ipv6,
#endif
if (byteorder_ntohs(aro->ltime) != 0) {
_handle_sl2ao(iface, ipv6, icmpv6, sl2ao);
_update_nce_ar_state(aro, nce);
return _update_nce_ar_state(aro, nce);
}
else if (nce != NULL) {
_nib_nc_remove(nce);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment