summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/vnet/session/session_cli.c5
-rw-r--r--src/vnet/tcp/tcp.c2
2 files changed, 5 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)
diff --git a/src/vnet/tcp/tcp.c b/src/vnet/tcp/tcp.c
index 317ed3aa876..c0b50ce6962 100644
--- a/src/vnet/tcp/tcp.c
+++ b/src/vnet/tcp/tcp.c
@@ -1018,6 +1018,8 @@ format_tcp_vars (u8 * s, va_list * args)
tc->rto, tc->rto_boff, tc->srtt, tc->mrtt_us * 1000, tc->rttvar,
tc->rtt_ts);
s = format (s, " rtt_seq %u\n", tc->rtt_seq - tc->iss);
+ s = format (s, " next_node %u opaque 0x%x\n", tc->next_node_index,
+ tc->next_node_opaque);
s = format (s, " cong: %U", format_tcp_congestion, tc);
if (tc->state >= TCP_STATE_ESTABLISHED)