1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2026-01-01 01:41:18 +01:00

sys/net/network_layer/ng_sixlowpan/iphc: compile error fix for EUI64 initializer.

This commit is contained in:
Joakim Gebart 2015-07-17 12:37:25 +02:00
parent b04db5409a
commit f15a5391b6

View File

@ -499,7 +499,8 @@ bool ng_sixlowpan_iphc_encode(ng_pktsnip_t *pkt)
}
if ((src_ctx != NULL) || ng_ipv6_addr_is_link_local(&(ipv6_hdr->src))) {
eui64_t iid = { 0 };
eui64_t iid;
iid.uint64.u64 = 0;
if ((netif_hdr->src_l2addr_len == 2) ||
(netif_hdr->src_l2addr_len == 4) ||