From 21c970c1b57a9c925871781948449dcf5386b53d Mon Sep 17 00:00:00 2001 From: William Skellenger Date: Fri, 7 Jun 2024 15:44:44 -0400 Subject: [PATCH] fix c++ comments --- src/core/ipv6/ip6_addr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/ipv6/ip6_addr.c b/src/core/ipv6/ip6_addr.c index 41eda387..0ca18499 100644 --- a/src/core/ipv6/ip6_addr.c +++ b/src/core/ipv6/ip6_addr.c @@ -57,7 +57,7 @@ /* used by IP6_ADDR_ANY(6) in ip6_addr.h */ const ip_addr_t ip6_addr_any = IPADDR6_INIT(0ul, 0ul, 0ul, 0ul); -#define SMALLEST_POSSIBLE_IPV6_STRLEN 2 //"::" is the smallest possible +#define SMALLEST_POSSIBLE_IPV6_STRLEN 2 /* "::" is the smallest possible ipv6 address */ #define lwip_xchar(i) ((char)((i) < 10 ? '0' + (i) : 'A' + (i) - 10)) @@ -92,7 +92,7 @@ ip6addr_aton(const char *cp, ip6_addr_t *addr) return 0; } - //if last character is a colon but not a double colon, invalid + /* if last character is a colon but not a double colon, invalid */ if ((cp[len-1] == ':') && (cp[len-2] != ':')) { return 0; }