aboutsummaryrefslogtreecommitdiffstats
path: root/src/vpp/app/vppctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vpp/app/vppctl.c')
-rw-r--r--src/vpp/app/vppctl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/vpp/app/vppctl.c b/src/vpp/app/vppctl.c
index 7c9651784e6..f1d69c3ca84 100644
--- a/src/vpp/app/vppctl.c
+++ b/src/vpp/app/vppctl.c
@@ -34,7 +34,9 @@
#include <vppinfra/clib.h>
#include <arpa/telnet.h>
+#ifndef STATIC_VPPCTL
#include <vpp/vnet/config.h>
+#endif
#define SOCKET_FILE "/run/vpp/cli.sock"
@@ -162,7 +164,7 @@ process_input (int sock_fd, unsigned char *rx_buf, int rx_buf_len,
return j;
}
-#ifdef CLIB_SANITIZE_ADDR
+#if !defined(STATIC_VPPCTL) && defined(CLIB_SANITIZE_ADDR)
/* default options for Address Sanitizer */
const char *
__asan_default_options (void)