diff --git a/sys/net/gnrc/network_layer/ipv6/nib/_nib-router.c b/sys/net/gnrc/network_layer/ipv6/nib/_nib-router.c index a6797bfd61..fa2226aa87 100644 --- a/sys/net/gnrc/network_layer/ipv6/nib/_nib-router.c +++ b/sys/net/gnrc/network_layer/ipv6/nib/_nib-router.c @@ -267,7 +267,7 @@ static gnrc_pktsnip_t *_build_final_ext_opts(gnrc_netif_t *netif) gnrc_pktsnip_t *snip = gnrc_ndp_opt_ri_build(&entry->pfx, entry->pfx_len, valid_ltime, - NDP_OPT_RI_FLAGS_PRF_NONE, + NDP_OPT_RI_FLAGS_PRF_ZERO, ext_opts); if (snip != NULL) { ext_opts = snip; diff --git a/sys/net/gnrc/routing/ipv6_auto_subnets/gnrc_ipv6_auto_subnets.c b/sys/net/gnrc/routing/ipv6_auto_subnets/gnrc_ipv6_auto_subnets.c index e02a726003..9de3b37ed9 100644 --- a/sys/net/gnrc/routing/ipv6_auto_subnets/gnrc_ipv6_auto_subnets.c +++ b/sys/net/gnrc/routing/ipv6_auto_subnets/gnrc_ipv6_auto_subnets.c @@ -1,3 +1,4 @@ + /* * Copyright (C) 2021 ML!PA Consulting GmbH * @@ -332,7 +333,7 @@ static bool _remove_old_prefix(gnrc_netif_t *netif, /* invalidate old prefix in RIO */ tmp = gnrc_ndp_opt_ri_build(&old_pfx, old_pfx_len, 0, - NDP_OPT_RI_FLAGS_PRF_NONE, *ext_opts); + NDP_OPT_RI_FLAGS_PRF_ZERO, *ext_opts); if (tmp) { *ext_opts = tmp; }