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

gnrc_dhcpv6_client_simple_pd: set AAC_DHCP if IA_NA is enabled

This commit is contained in:
Benjamin Valentin 2022-03-02 14:53:09 +01:00
parent ce1ec91adc
commit 9eb62da2d4

View File

@ -93,6 +93,9 @@ static void _configure_dhcpv6_client(void)
{
gnrc_netif_t *netif = NULL;
gnrc_netif_t *upstream = _find_upstream_netif();
if (IS_ACTIVE(MODULE_DHCPV6_CLIENT_IA_NA)) {
upstream->ipv6.aac_mode |= GNRC_NETIF_AAC_DHCP;
}
while ((netif = gnrc_netif_iter(netif))) {
if (IS_USED(MODULE_GNRC_DHCPV6_CLIENT_6LBR)
&& !gnrc_netif_is_6lo(netif)) {