Skip to content

Commit

Permalink
fixup! RFC7217 for NETOPT_IPV6_IID
Browse files Browse the repository at this point in the history
`-Werror=maybe-uninitialized`
  • Loading branch information
xnumad committed Feb 27, 2024
1 parent 1817c61 commit bc301ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sys/net/gnrc/netif/gnrc_netif.c
Original file line number Diff line number Diff line change
Expand Up @@ -1345,7 +1345,7 @@ int gnrc_netif_ipv6_add_prefix(gnrc_netif_t *netif,
DEBUG("gnrc_netif: (re-)configure prefix %s/%d\n",
ipv6_addr_to_str(addr_str, pfx, sizeof(addr_str)), pfx_len);
#if IS_ACTIVE(CONFIG_GNRC_IPV6_STABLE_PRIVACY)
uint8_t dad_ctr;
uint8_t dad_ctr = 0;
netopt_ipv6_rfc7217_iid_data data;
data.iid = &iid;
data.pfx = pfx;
Expand Down

0 comments on commit bc301ac

Please sign in to comment.