aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/session
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2019-11-19 18:22:41 -0800
committerDave Wallace <dwallacelf@gmail.com>2019-11-20 15:08:16 +0000
commitd9035a4092bd18259ab00960fe032486bfce61d8 (patch)
tree519318b7d93085d2a84b0b3aea5abb5152ecd1d9 /src/vnet/session
parent535fdba533b91c9105215f07bb686ddf6fd6975a (diff)
session tcp: add opaque data to show cli
Type: feature Change-Id: Iac8d4ed4997c4fce802589585e6a9424957152ca Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/session')
-rw-r--r--src/vnet/session/session_cli.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/vnet/session/session_cli.c b/src/vnet/session/session_cli.c
index 9264f47cca7..4d4141da375 100644
--- a/src/vnet/session/session_cli.c
+++ b/src/vnet/session/session_cli.c
@@ -133,8 +133,9 @@ format_session (u8 * s, va_list * args)
if (verbose > 1)
{
s = format (s, "%U", format_session_fifos, ss, verbose);
- s = format (s, " session: state: %U flags: %U\n",
- format_session_state, ss, format_session_flags, ss);
+ s = format (s, " session: state: %U opaque: 0x%x flags: %U\n",
+ format_session_state, ss, ss->opaque,
+ format_session_flags, ss);
}
}
else if (ss->session_state == SESSION_STATE_LISTENING)