summaryrefslogtreecommitdiffstats
path: root/src/vnet/session
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/session')
-rw-r--r--src/vnet/session/session.c2
-rw-r--r--src/vnet/session/session_debug.h2
-rw-r--r--src/vnet/session/session_node.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/vnet/session/session.c b/src/vnet/session/session.c
index 7f28a3992ed..5893b6558f0 100644
--- a/src/vnet/session/session.c
+++ b/src/vnet/session/session.c
@@ -490,7 +490,7 @@ session_enqueue_notify (stream_session_t * s, u8 block)
/* *INDENT-OFF* */
SESSION_EVT_DBG(SESSION_EVT_ENQ, s, ({
- ed->data[0] = evt.event_id;
+ ed->data[0] = evt.event_type;
ed->data[1] = svm_fifo_max_dequeue (s->server_rx_fifo);
}));
/* *INDENT-ON* */
diff --git a/src/vnet/session/session_debug.h b/src/vnet/session/session_debug.h
index d9b71035314..702fe96ad33 100644
--- a/src/vnet/session/session_debug.h
+++ b/src/vnet/session/session_debug.h
@@ -45,7 +45,7 @@ typedef enum _session_evt_dbg
u32 data[_size]; \
} * ed; \
transport_proto_vft_t *vft = \
- session_get_transport_vft (_s->session_type); \
+ transport_protocol_get_vft (_s->session_type); \
transport_connection_t *_tc = \
vft->get_connection (_s->connection_index, _s->thread_index); \
ed = ELOG_TRACK_DATA (&vlib_global_main.elog_main, \
diff --git a/src/vnet/session/session_node.c b/src/vnet/session/session_node.c
index cbe936ccd86..bc24d952234 100644
--- a/src/vnet/session/session_node.c
+++ b/src/vnet/session/session_node.c
@@ -319,7 +319,7 @@ session_tx_fifo_read_and_snd_i (vlib_main_t * vm, vlib_node_runtime_t * node,
/* *INDENT-OFF* */
SESSION_EVT_DBG(SESSION_EVT_DEQ, s0, ({
- ed->data[0] = e0->event_id;
+ ed->data[0] = e0->event_type;
ed->data[1] = max_dequeue0;
ed->data[2] = len_to_deq0;
ed->data[3] = left_to_snd0;