diff options
Diffstat (limited to 'src/vnet/session')
-rw-r--r-- | src/vnet/session/session.c | 1 | ||||
-rwxr-xr-x | src/vnet/session/session_cli.c | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/vnet/session/session.c b/src/vnet/session/session.c index 069818ef1be..4081f909482 100644 --- a/src/vnet/session/session.c +++ b/src/vnet/session/session.c @@ -66,6 +66,7 @@ session_send_evt_to_thread (void *data, void *args, u32 thread_index, evt->rpc_args.arg = args; break; case FIFO_EVENT_APP_TX: + case SESSION_IO_EVT_TX_FLUSH: case FIFO_EVENT_BUILTIN_RX: evt->fifo = data; break; diff --git a/src/vnet/session/session_cli.c b/src/vnet/session/session_cli.c index 135138ce76c..ea6e635715f 100755 --- a/src/vnet/session/session_cli.c +++ b/src/vnet/session/session_cli.c @@ -204,7 +204,7 @@ static clib_error_t * show_session_command_fn (vlib_main_t * vm, unformat_input_t * input, vlib_cli_command_t * cmd) { - u8 *str = 0, one_session = 0, do_listeners = 0, sst, do_elog = 1; + u8 *str = 0, one_session = 0, do_listeners = 0, sst, do_elog = 0; session_manager_main_t *smm = &session_manager_main; u32 transport_proto = ~0, track_index; stream_session_t *pool, *s; @@ -241,7 +241,7 @@ show_session_command_fn (vlib_main_t * vm, unformat_input_t * input, if (one_session) { str = format (0, "%U", format_stream_session, s, 3); - if (do_elog) + if (do_elog && s->session_state != SESSION_STATE_LISTENING) { elog_main_t *em = &vm->elog_main; f64 dt; |