udp: fix cli for next node and opaque 84/42384/2
authorFlorin Coras <[email protected]>
Mon, 24 Feb 2025 05:20:32 +0000 (00:20 -0500)
committerFlorin Coras <[email protected]>
Mon, 24 Feb 2025 05:33:23 +0000 (05:33 +0000)
Type: fix

Change-Id: I77c2d8e64ed463b1c8e84e0fca8d79684a88714c
Signed-off-by: Florin Coras <[email protected]>
src/vnet/udp/udp_cli.c

index 6c8992c..dd1da0a 100644 (file)
@@ -97,7 +97,8 @@ format_udp_vars (u8 * s, va_list * args)
 
   s = format (s, " index %u%U flags: %U\n", uc->c_c_index,
              format_udp_cfg_flags, uc, format_udp_connection_flags, uc);
-  s = format (s, " fib_index: %u next_node: %u opaque: %u ", uc->c_fib_index);
+  s = format (s, " fib_index: %u next_node: %u opaque: %u ", uc->c_fib_index,
+             uc->next_node_index, uc->next_node_opaque);
   if (!(uc->flags & UDP_CONN_F_LISTEN))
     s = format (s, " sw_if_index: %d mss: %u\n", uc->sw_if_index, uc->mss);
   else