aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyujiro Shibuya <ryujiro.shibuya@owmobility.com>2020-09-09 04:14:11 +0000
committerRyujiro Shibuya <ryujiro.shibuya@owmobility.com>2020-09-09 04:14:11 +0000
commitddfd56265eb330fd472627f386be620b050a2601 (patch)
treef509ba8fe4733db786ff2a4d109c5e94f31df3d9
parentf6cb04460465d48a155aa3363106a82d160c7328 (diff)
tcp: fix the tcp unittest to work
Type: fix Signed-off-by: Ryujiro Shibuya <ryujiro.shibuya@owmobility.com> Change-Id: If5a8313262da828616db8b1d9ef831d42b11d952
-rw-r--r--src/plugins/unittest/tcp_test.c2
1 files changed, 2 insertions, 0 deletions
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"))