From ddfd56265eb330fd472627f386be620b050a2601 Mon Sep 17 00:00:00 2001 From: Ryujiro Shibuya Date: Wed, 9 Sep 2020 04:14:11 +0000 Subject: [PATCH] tcp: fix the tcp unittest to work Type: fix Signed-off-by: Ryujiro Shibuya Change-Id: If5a8313262da828616db8b1d9ef831d42b11d952 --- src/plugins/unittest/tcp_test.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugins/unittest/tcp_test.c b/src/plugins/unittest/tcp_test.c index 3db04050136..3e5ba9c6e2e 100644 --- a/src/plugins/unittest/tcp_test.c +++ b/src/plugins/unittest/tcp_test.c @@ -1341,6 +1341,8 @@ tcp_test (vlib_main_t * vm, { int res = 0; + vnet_session_enable_disable (vm, 1); + while (unformat_check_input (input) != UNFORMAT_END_OF_INPUT) { if (unformat (input, "sack")) -- 2.16.6