From 60338677e6b05b7a8fe642bf352d2a6e8ed65cac Mon Sep 17 00:00:00 2001 From: Hadi Rayan Al-Sandid Date: Thu, 14 Aug 2025 21:13:09 +0200 Subject: [PATCH] ip: 'format_ip6_header' - re-enable recurse into next proto layer Type: improvement Change-Id: I4d04466a9a6e94b460fb3c29543435dd9bceab99 Signed-off-by: Hadi Rayan Al-Sandid --- src/vnet/ip/ip6_format.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/vnet/ip/ip6_format.c b/src/vnet/ip/ip6_format.c index 1a1bef26aa6..54f4fd99815 100644 --- a/src/vnet/ip/ip6_format.c +++ b/src/vnet/ip/ip6_format.c @@ -288,7 +288,7 @@ format_ip6_header (u8 * s, va_list * args) "\n%Utos 0x%02x, flow label 0x%x, hop limit %d, payload length %d", format_white_space, indent, traffic_class, flow_label, ip->hop_limit, clib_net_to_host_u16 (ip->payload_length)); -#if 0 + /* Recurse into next protocol layer. */ if (max_header_bytes != 0 && sizeof (ip[0]) < max_header_bytes) { @@ -301,7 +301,6 @@ format_ip6_header (u8 * s, va_list * args) /* next protocol header */ (void *) (ip + 1), max_header_bytes - sizeof (ip[0])); } -#endif return s; } -- 2.16.6