1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
19652: gnrc_ipv6_nib: set default RIO preference to zero r=fabian18 a=benpicco



Co-authored-by: Benjamin Valentin <benjamin.valentin@ml-pa.com>
This commit is contained in:
bors[bot] 2023-05-23 11:50:43 +00:00 committed by GitHub
commit 4c27aff295
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -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;

View File

@ -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;
}