aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2023-03-22 19:07:35 -0700
committerDave Barach <vpp@barachs.net>2023-03-23 17:27:53 +0000
commit49a103202e1196224098e5c21fe0bc40aa6f78a1 (patch)
treeb0441da0e2270a3fe0aa7946cf47b2c842cc682c /src
parentb47376f0b404d2ba5526fba52b171d79b0f352f8 (diff)
session: fix formatting of half open sessions
Type: fix Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I45a524bebd2dc1e318fa8d2a645bfc769e1da840
Diffstat (limited to 'src')
-rw-r--r--src/vnet/session/transport.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/vnet/session/transport.c b/src/vnet/session/transport.c
index 7e40164a9f8..bfd85eb0e05 100644
--- a/src/vnet/session/transport.c
+++ b/src/vnet/session/transport.c
@@ -146,14 +146,13 @@ u8 *
format_transport_half_open_connection (u8 * s, va_list * args)
{
u32 transport_proto = va_arg (*args, u32);
- u32 ho_index = va_arg (*args, u32);
transport_proto_vft_t *tp_vft;
tp_vft = transport_protocol_get_vft (transport_proto);
if (!tp_vft)
return s;
- s = format (s, "%U", tp_vft->format_half_open, ho_index);
+ s = (tp_vft->format_half_open) (s, args);
return s;
}