Skip to content

Commit

Permalink
Merge pull request #20199 from benpicco/GNRC_IPV6_STATIC_LLADDR-fix
Browse files Browse the repository at this point in the history
gnrc/ipv6/nib: fix GNRC_IPV6_STATIC_LLADDR when link state changes
  • Loading branch information
benpicco authored Dec 19, 2023
2 parents 30f8971 + 9ceb7cd commit 950a11e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sys/net/gnrc/network_layer/ipv6/nib/nib.c
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ void gnrc_ipv6_nib_iface_up(gnrc_netif_t *netif)
_init_iface_arsm(netif);
netif->ipv6.rs_sent = 0;
netif->ipv6.na_sent = 0;
_add_static_lladdr(netif);
_auto_configure_addr(netif, &ipv6_addr_link_local_prefix, 64U);
if (_should_search_rtr(netif)) {
uint32_t next_rs_time = random_uint32_range(0, NDP_MAX_RS_MS_DELAY);
Expand Down Expand Up @@ -212,7 +213,6 @@ void gnrc_ipv6_nib_init_iface(gnrc_netif_t *netif)
gnrc_netif_release(netif);
return;
}
_add_static_lladdr(netif);

gnrc_netif_release(netif);
}
Expand Down

0 comments on commit 950a11e

Please sign in to comment.