1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #7703 from miri64/gnrc_ipv6_nib/fix/return-ar-state

gnrc_ipv6_nib: return registration state on upstream registration
This commit is contained in:
Cenk Gündoğan 2017-10-10 11:35:47 +02:00 committed by GitHub
commit 814dc95553

View File

@ -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);