summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Luong <sluong@cisco.com>2022-10-07 13:53:20 -0700
committerSteven Luong <sluong@cisco.com>2022-10-07 14:01:54 -0700
commit23b33ec02bb08b5998d3b2ba7c6ef7d4737424c6 (patch)
tree742393350b4d42b7e7526dd1cb4c44a9e8158cb3
parent8a0a9d2600ef4da1da0b884e991a990644658963 (diff)
tcp: cmake option VPP_TCP_DEBUG_ALWAYS=ON not taken by all files
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
-rw-r--r--src/vnet/tcp/tcp_debug.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/tcp/tcp_debug.h b/src/vnet/tcp/tcp_debug.h
index a0bdaa3684d..04e921cd601 100644
--- a/src/vnet/tcp/tcp_debug.h
+++ b/src/vnet/tcp/tcp_debug.h
@@ -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