Skip to content

Commit

Permalink
gnrc/ipv6/nib: reset rs_sent counter also for not-6LN interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
fabian18 committed Jun 20, 2023
1 parent 829af7c commit 7ea264e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions sys/net/gnrc/network_layer/ipv6/nib/nib.c
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,7 @@ void gnrc_ipv6_nib_iface_up(gnrc_netif_t *netif)
gnrc_netif_acquire(netif);

_init_iface_arsm(netif);
#if IS_ACTIVE(CONFIG_GNRC_IPV6_NIB_6LN)
netif->ipv6.rs_sent = 0;
#endif /* CONFIG_GNRC_IPV6_NIB_6LN */
netif->ipv6.na_sent = 0;
_auto_configure_addr(netif, &ipv6_addr_link_local_prefix, 64U);
if (_should_search_rtr(netif)) {
Expand Down

0 comments on commit 7ea264e

Please sign in to comment.