aboutsummaryrefslogtreecommitdiffstats
path: root/src/vat
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2019-07-19 08:25:37 -0400
committerFlorin Coras <florin.coras@gmail.com>2019-07-19 14:42:43 +0000
commit4f74e9ef34d2bf22c70b78f91613cfd43f9a7bd4 (patch)
treec698e8780914c2b12f9e39755fe502c4fa45289f /src/vat
parent679478760a4dc87d1adf281c4562574bb25b539b (diff)
vat: remove #if BUILTIN from vat_main_t definition
Otherwise, vat plugins will be confused about the offset from &vat_main of the vlib_main_t * pointer, leading to NULL pointer crashes. Type: fix Change-Id: I7298b7ce8c000217ed7fdd2e97a3cbf978464377 Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'src/vat')
-rw-r--r--src/vat/vat.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/vat/vat.h b/src/vat/vat.h
index 0d93af7b0f2..e21940c4cd4 100644
--- a/src/vat/vat.h
+++ b/src/vat/vat.h
@@ -216,9 +216,7 @@ typedef struct
socket_client_main_t *socket_client_main;
u8 *socket_name;
-#if VPP_API_TEST_BUILTIN == 0
elog_main_t elog_main;
-#endif
/* Convenience */
vlib_main_t *vlib_main;