summaryrefslogtreecommitdiffstats
path: root/src/vnet/session/transport.c
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2019-02-01 18:00:05 -0800
committerDamjan Marion <dmarion@me.com>2019-02-02 08:51:12 +0000
commit3389dd2aaa3a5e68f808cece114ae8fe05edb3cc (patch)
treef3cb72c8b2950cf315c579d6ffdddfe7eaf8d5c5 /src/vnet/session/transport.c
parent7e0c48e3a941ce874361b442a02624e586db810b (diff)
session: improve show session cli
Change-Id: If30cea80058752cedcc6ecc38e90bef8732c83d3 Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/session/transport.c')
-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 c2d21bf28f9..0d4ccb549b7 100644
--- a/src/vnet/session/transport.c
+++ b/src/vnet/session/transport.c
@@ -125,14 +125,13 @@ u8 *
format_transport_listen_connection (u8 * s, va_list * args)
{
u32 transport_proto = va_arg (*args, u32);
- u32 listen_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_listener, listen_index);
+ s = (tp_vft->format_listener) (s, args);
return s;
}