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

ng_ipv6/netif: fix dereference interface correctly

This commit is contained in:
Martine Lenders 2015-06-30 22:43:15 +02:00
parent 3b814fdf05
commit cda934d2e1

View File

@ -527,7 +527,7 @@ void ng_ipv6_netif_init_by_dev(void)
sizeof(if_type)) != -ENOTSUP) &&
(if_type == NG_NETTYPE_SIXLOWPAN)) {
DEBUG("Set 6LoWPAN flag\n");
ipv6_ifs->flags |= NG_IPV6_NETIF_FLAGS_SIXLOWPAN;
ipv6_ifs[i].flags |= NG_IPV6_NETIF_FLAGS_SIXLOWPAN;
}
#endif