summaryrefslogtreecommitdiffstats
path: root/src/vnet/l2/l2_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/l2/l2_test.c')
-rw-r--r--src/vnet/l2/l2_test.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vnet/l2/l2_test.c b/src/vnet/l2/l2_test.c
index c7cd1d255c1..3be4a46223d 100644
--- a/src/vnet/l2/l2_test.c
+++ b/src/vnet/l2/l2_test.c
@@ -28,6 +28,10 @@
#include <vnet/l2/l2.api.h>
#undef vl_endianfun
+#define vl_calcsizefun
+#include <vnet/l2/l2.api.h>
+#undef vl_calcsizefun
+
typedef struct
{
/* API message ID base */