tcp: cmake option VPP_TCP_DEBUG_ALWAYS=ON not taken by all files 72/37372/1
authorSteven Luong <sluong@cisco.com>
Fri, 7 Oct 2022 20:53:20 +0000 (13:53 -0700)
committerSteven Luong <sluong@cisco.com>
Fri, 7 Oct 2022 21:01:54 +0000 (14:01 -0700)
Some files include tcp_debug.h without including <vpp/vnet/config.h>
As a result, those files do not get VPP_TCP_DEBUG_ALWAYS option
set. The fix is to include <vpp/vnet/config.h> in tcp_debug.h

Type: fix

Signed-off-by: Steven Luong <sluong@cisco.com>
Change-Id: I0c141147f1e8d1b49c5a1440fac1e97cbd96aaa7

src/vnet/tcp/tcp_debug.h

index a0bdaa3..04e921c 100644 (file)
@@ -17,6 +17,7 @@
 #define SRC_VNET_TCP_TCP_DEBUG_H_
 
 #include <vlib/vlib.h>
+#include <vpp/vnet/config.h>
 
 /**
  * Build debugging infra unconditionally. Debug components controlled via