aboutsummaryrefslogtreecommitdiffstats
path: root/vpp-api-test/vat
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2015-12-12 14:40:59 +0100
committerDamjan Marion <damarion@cisco.com>2015-12-13 18:18:27 +0100
commita0d4a1a6d1b81b132787e382ac3f8487b71cf52c (patch)
treeaabeaa39e8b0e6db087e993c9acecadbf84811b7 /vpp-api-test/vat
parent29726ab117a1fc5b3d92d1afaaaaa08ef7f138eb (diff)
new version handling
Change-Id: I90983f3df94a3b28199908b29ffd8f827ab0c379 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'vpp-api-test/vat')
-rw-r--r--vpp-api-test/vat/api_format.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vpp-api-test/vat/api_format.c b/vpp-api-test/vat/api_format.c
index 5ee4b929ce8..02c3ad5fe06 100644
--- a/vpp-api-test/vat/api_format.c
+++ b/vpp-api-test/vat/api_format.c
@@ -861,7 +861,7 @@ static void vl_api_show_version_reply_t_handler
if (retval >= 0) {
errmsg (" program: %s\n", mp->program);
- errmsg (" git branch: %s\n", mp->git_branch);
+ errmsg (" version: %s\n", mp->version);
errmsg (" build date: %s\n", mp->build_date);
errmsg ("build directory: %s\n", mp->build_directory);
}
@@ -878,7 +878,7 @@ static void vl_api_show_version_reply_t_handler_json
vat_json_init_object(&node);
vat_json_object_add_int(&node, "retval", ntohl(mp->retval));
vat_json_object_add_string_copy(&node, "program", mp->program);
- vat_json_object_add_string_copy(&node, "git_branch", mp->git_branch);
+ vat_json_object_add_string_copy(&node, "version", mp->version);
vat_json_object_add_string_copy(&node, "build_date", mp->build_date);
vat_json_object_add_string_copy(&node, "build_directory", mp->build_directory);