aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorFilip Tehlar <ftehlar@cisco.com>2021-10-20 14:05:32 +0000
committerFlorin Coras <florin.coras@gmail.com>2021-10-22 14:59:45 +0000
commit98008bcf7631cf19602ebd9b706ef9616fc1463f (patch)
tree774238be8eb12a0ef4d6013fe61af67c9f992a64 /src/plugins
parentcae84fa96856406c93c37e0a38f67d4c6ee7f48a (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.c2
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)