diff options
author | Filip Tehlar <ftehlar@cisco.com> | 2021-10-20 14:05:32 +0000 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2021-10-22 14:59:45 +0000 |
commit | 98008bcf7631cf19602ebd9b706ef9616fc1463f (patch) | |
tree | 774238be8eb12a0ef4d6013fe61af67c9f992a64 /src/plugins | |
parent | cae84fa96856406c93c37e0a38f67d4c6ee7f48a (diff) |
session: fix minor issue
Type: fix
Change-Id: I2f7579980f081d3b0a8d19baade0a6599d55cf80
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/unittest/session_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/unittest/session_test.c b/src/plugins/unittest/session_test.c index 651658e3676..87fd708ecd8 100644 --- a/src/plugins/unittest/session_test.c +++ b/src/plugins/unittest/session_test.c @@ -1942,7 +1942,7 @@ session_test_mq_basic (vlib_main_t * vm, unformat_input_t * input) smq = svm_msg_q_alloc (cfg); svm_msg_q_attach (mq, smq); - SESSION_TEST (mq != 0, "svm_msg_q_alloc"); + SESSION_TEST (smq != 0, "svm_msg_q_alloc"); SESSION_TEST (vec_len (mq->rings) == 2, "ring allocation"); rings_ptr = (u8 *) mq->rings[0].shr->data; vec_foreach (ring, mq->rings) |