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

gnrc_ipv6_nib: fix misplaced assert()

This commit is contained in:
Benjamin Valentin 2024-12-11 19:31:36 +01:00
parent 1363894426
commit d708e95681

View File

@ -251,8 +251,8 @@ static gnrc_pktsnip_t *_build_ext_opts(gnrc_netif_t *netif,
}
#endif /* CONFIG_GNRC_IPV6_NIB_DNS */
if (gnrc_netif_is_6lr(netif)) {
assert(abr != NULL);
#if IS_ACTIVE(CONFIG_GNRC_IPV6_NIB_MULTIHOP_P6C)
assert(abr != NULL);
uint16_t ltime_min;
gnrc_pktsnip_t *abro;