aboutsummaryrefslogtreecommitdiffstats
path: root/src/vat
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2017-02-22 17:29:20 -0500
committerDave Barach <dave@barachs.net>2017-02-22 17:29:58 -0500
commitdef19da0c92bfffc23ad898e459271c7c9209110 (patch)
tree7bfc395d5bb3b213722e8e7bc8823561519be3e8 /src/vat
parent974cdc6faacc49ef393eeea6e4c9643f767d2792 (diff)
Clean up "binary-api" help string, arg parse bugs
Change-Id: I12311be8ebd376b8aeac25364d010d70a85c7874 Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'src/vat')
-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 b0df35fa..039fca06 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 */
}