From: Ryujiro Shibuya Date: Wed, 9 Sep 2020 04:14:11 +0000 (+0000) Subject: tcp: fix the tcp unittest to work X-Git-Tag: v21.01-rc0~11 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=ddfd56265eb330fd472627f386be620b050a2601;p=vpp.git tcp: fix the tcp unittest to work Type: fix Signed-off-by: Ryujiro Shibuya Change-Id: If5a8313262da828616db8b1d9ef831d42b11d952 --- 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"))