1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 04:52:59 +01:00

pkg/lwip: Fix 6lowpan build when IPv4 is active

This commit is contained in:
Erik Ekman 2021-11-09 23:16:33 +01:00
parent 3aee2dde9d
commit 02c840af2a

View File

@ -161,7 +161,7 @@ err_t lwip_netdev_init(struct netif *netif)
}
/* netif_create_ip6_linklocal_address() does weird byte-swapping
* with full IIDs, so let's do it ourselves */
addr = &(netif->ip6_addr[0]);
addr = ip_2_ip6(&(netif->ip6_addr[0]));
/* addr->addr is a uint32_t array */
if (l2util_ipv6_iid_from_addr(dev_type,
netif->hwaddr, netif->hwaddr_len,