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

gnrc_dhcpv6_client: only configure 6Lo-ND features if interface is 6LN

This commit is contained in:
Martine S. Lenders 2020-03-05 17:05:03 +01:00
parent 06d1d79ffa
commit c110337f6a
No known key found for this signature in database
GPG Key ID: CCD317364F63286F

View File

@ -149,7 +149,8 @@ void dhcpv6_client_conf_prefix(unsigned iface, const ipv6_addr_t *pfx,
gnrc_ipv6_nib_pl_set(netif->pid, pfx, pfx_len, valid, pref);
if (IS_USED(MODULE_GNRC_IPV6_NIB) &&
GNRC_IPV6_NIB_CONF_6LBR &&
GNRC_IPV6_NIB_CONF_MULTIHOP_P6C) {
GNRC_IPV6_NIB_CONF_MULTIHOP_P6C &&
gnrc_netif_is_6ln(netif)) {
if (IS_USED(MODULE_GNRC_SIXLOWPAN_CTX)) {
_update_6ctx(pfx, pfx_len);
}