tcp: fix the tcp unittest to work 16/28716/1
authorRyujiro Shibuya <ryujiro.shibuya@owmobility.com>
Wed, 9 Sep 2020 04:14:11 +0000 (04:14 +0000)
committerRyujiro Shibuya <ryujiro.shibuya@owmobility.com>
Wed, 9 Sep 2020 04:14:11 +0000 (04:14 +0000)
Type: fix

Signed-off-by: Ryujiro Shibuya <ryujiro.shibuya@owmobility.com>
Change-Id: If5a8313262da828616db8b1d9ef831d42b11d952

src/plugins/unittest/tcp_test.c

index 3db0405..3e5ba9c 100644 (file)
@@ -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"))