diff options
author | Florin Coras <fcoras@cisco.com> | 2017-10-16 20:47:56 -0700 |
---|---|---|
committer | Florin Coras <fcoras@cisco.com> | 2017-10-16 20:49:05 -0700 |
commit | ec44e34bfe5934d6148facd553df41b4829dd827 (patch) | |
tree | d6846e653bf1135c3d72fb2bcee62999f741de28 | |
parent | 3cbc04bea02fc60471dfe0c671ede3ca42c118c3 (diff) |
session: fix build when debugging is on
Change-Id: I193832a0cd0557fffc034a1223f67fa64a4d45ae
Signed-off-by: Florin Coras <fcoras@cisco.com>
-rw-r--r-- | src/vnet/session/session.c | 2 | ||||
-rw-r--r-- | src/vnet/session/session_debug.h | 2 | ||||
-rw-r--r-- | src/vnet/session/session_node.c | 2 |
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; |