Skip to content

Commit

Permalink
gnrc_ipv6_nib: fix misplaced assert()
Browse files Browse the repository at this point in the history
  • Loading branch information
benpicco committed Dec 13, 2024
1 parent 1363894 commit d708e95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sys/net/gnrc/network_layer/ipv6/nib/_nib-router.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit d708e95

Please sign in to comment.