From 43840a7277502b675df2f0352d97750dbb424086 Mon Sep 17 00:00:00 2001 From: xnumad <34810600+xnumad@users.noreply.github.com> Date: Fri, 9 Feb 2024 12:44:50 +0100 Subject: [PATCH] finalize: vera++ style check --- sys/include/net/gnrc/netif/internal.h | 4 +++- sys/net/gnrc/network_layer/ipv6/nib/_nib-slaac.c | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/sys/include/net/gnrc/netif/internal.h b/sys/include/net/gnrc/netif/internal.h index d9d11cae4e40..358cf786655e 100644 --- a/sys/include/net/gnrc/netif/internal.h +++ b/sys/include/net/gnrc/netif/internal.h @@ -195,7 +195,9 @@ static inline uint8_t gnrc_netif_ipv6_addr_dad_trans(const gnrc_netif_t *netif, static inline uint8_t gnrc_netif_ipv6_addr_gen_retries(const gnrc_netif_t *netif, int idx) { - return (netif->ipv6.addrs_flags[idx] & GNRC_NETIF_IPV6_ADDRS_FLAGS_IDGEN_RETRIES) >> GNRC_NETIF_IPV6_ADDRS_FLAGS_IDGEN_RETRIES_POS; + return (netif->ipv6.addrs_flags[idx] + & GNRC_NETIF_IPV6_ADDRS_FLAGS_IDGEN_RETRIES) + >> GNRC_NETIF_IPV6_ADDRS_FLAGS_IDGEN_RETRIES_POS; } #endif diff --git a/sys/net/gnrc/network_layer/ipv6/nib/_nib-slaac.c b/sys/net/gnrc/network_layer/ipv6/nib/_nib-slaac.c index 3595ee22b15e..e8006c728032 100644 --- a/sys/net/gnrc/network_layer/ipv6/nib/_nib-slaac.c +++ b/sys/net/gnrc/network_layer/ipv6/nib/_nib-slaac.c @@ -302,7 +302,8 @@ void _remove_tentative_addr(gnrc_netif_t *netif, const ipv6_addr_t *addr) _auto_configure_addr_with_dad_ctr(netif, addr, SLAAC_PREFIX_LENGTH, dad_counter); } else { - //"hosts MUST NOT automatically fall back to employing other algorithms for generating Interface Identifiers" + //"hosts MUST NOT automatically fall back to employing other algorithms + // for generating Interface Identifiers" //- https://datatracker.ietf.org/doc/html/rfc7217#section-6 //> If the address is a link-local address