session: fix build when debugging is on
Change-Id: I193832a0cd0557fffc034a1223f67fa64a4d45ae
Signed-off-by: Florin Coras <fcoras@cisco.com>
diff --git a/src/vnet/session/session.c b/src/vnet/session/session.c
index 7f28a39..5893b65 100644
--- a/src/vnet/session/session.c
+++ b/src/vnet/session/session.c
@@ -490,7 +490,7 @@
/* *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 d9b7103..702fe96 100644
--- a/src/vnet/session/session_debug.h
+++ b/src/vnet/session/session_debug.h
@@ -45,7 +45,7 @@
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 cbe936c..bc24d95 100644
--- a/src/vnet/session/session_node.c
+++ b/src/vnet/session/session_node.c
@@ -319,7 +319,7 @@
/* *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;