mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge pull request #4968 from immesys/fix-ndp
ndp: fix neighbor advertisement byte ordering
This commit is contained in:
commit
c72bae6dba
@ -181,7 +181,7 @@ void gnrc_ndp_nbr_sol_handle(kernel_pid_t iface, gnrc_pktsnip_t *pkt,
|
||||
/* see https://tools.ietf.org/html/rfc6775#section-6.5.2 */
|
||||
eui64_t iid;
|
||||
ieee802154_get_iid(&iid, ar_opt->eui64.uint8, sizeof(eui64_t));
|
||||
ipv6_addr_set_iid(&nbr_adv_dst, iid.uint64.u64);
|
||||
ipv6_addr_set_aiid(&nbr_adv_dst, iid.uint8);
|
||||
ipv6_addr_set_link_local_prefix(&nbr_adv_dst);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user