From 97485342aa2e983ab566c0731caea59c4dc0df04 Mon Sep 17 00:00:00 2001 From: zhanghongyu Date: Thu, 23 Apr 2026 21:59:12 +0800 Subject: [PATCH] netlib_ipv6route.c: fix the issue of parsing IPv6 routing entries Update the column ruler and field labels in route_ipv6_entry comment to match the actual output: lowercase to uppercase, remove colons. Consistent with Nuttx definition Signed-off-by: zhanghongyu --- netutils/netlib/netlib_ipv6route.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/netutils/netlib/netlib_ipv6route.c b/netutils/netlib/netlib_ipv6route.c index a0e10fa7c..14bcc2e9f 100644 --- a/netutils/netlib/netlib_ipv6route.c +++ b/netutils/netlib/netlib_ipv6route.c @@ -49,14 +49,14 @@ /* The form of the entry from the routing table file: * - * 11111111112222222222333333333344444444445555 - * 12345678901234567890123456789012345678901234567890123 - * nnnn. target: xxxx:xxxx:xxxx:xxxxxxxx:xxxx:xxxx:xxxx - * netmask: xxxx:xxxx:xxxx:xxxxxxxx:xxxx:xxxx:xxxx - * router: xxxx:xxxx:xxxx:xxxxxxxx:xxxx:xxxx:xxxx + * 1111111111222222222233333333334444444444555 + * 1234567890123456789012345678901234567890123456789012 + * nnnn. TARGET xxxx:xxxx:xxxx:xxxxxxxx:xxxx:xxxx:xxxx + * NETMASK xxxx:xxxx:xxxx:xxxxxxxx:xxxx:xxxx:xxxx + * ROUTER xxxx:xxxx:xxxx:xxxxxxxx:xxxx:xxxx:xxxx */ -#define ADDR_OFFSET 15 +#define ADDR_OFFSET 14 /**************************************************************************** * Private Functions