summaryrefslogtreecommitdiffstats
path: root/src/vat/api_format.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vat/api_format.c')
-rw-r--r--src/vat/api_format.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vat/api_format.c b/src/vat/api_format.c
index b0df35facd4..039fca06891 100644
--- a/src/vat/api_format.c
+++ b/src/vat/api_format.c
@@ -17790,7 +17790,9 @@ api_sw_interface_set_mtu (vat_main_t * vam)
static int
q_or_quit (vat_main_t * vam)
{
+#if VPP_API_TEST_BUILTIN == 0
longjmp (vam->jump_buf, 1);
+#endif
return 0; /* not so much */
}