ip: 'format_ip6_header' - re-enable recurse into next proto layer 51/43551/2
authorHadi Rayan Al-Sandid <[email protected]>
Thu, 14 Aug 2025 19:13:09 +0000 (21:13 +0200)
committerOle Tr�an <[email protected]>
Fri, 29 Aug 2025 16:38:02 +0000 (16:38 +0000)
Type: improvement
Change-Id: I4d04466a9a6e94b460fb3c29543435dd9bceab99
Signed-off-by: Hadi Rayan Al-Sandid <[email protected]>
src/vnet/ip/ip6_format.c

index 1a1bef2..54f4fd9 100644 (file)
@@ -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;
 }