aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/lisp-cp/lisp_cli.c
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2020-07-27 14:42:10 -0700
committerDave Barach <openvpp@barachs.net>2020-07-28 12:17:04 +0000
commit39771adc1da61943978c18b58b35dedc9dddc4b0 (patch)
tree6176263ec47d56be4f3d2b7d9391eb4eee94ac88 /src/vnet/lisp-cp/lisp_cli.c
parent508dc51bd075f6bb16862265c0c43e8efb76349c (diff)
lisp: fix cli locator-set name null termination
Type: fix Change-Id: I5f550bd6a03f47b829ef99803cb6b9ac86329450 Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/lisp-cp/lisp_cli.c')
-rw-r--r--src/vnet/lisp-cp/lisp_cli.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/lisp-cp/lisp_cli.c b/src/vnet/lisp-cp/lisp_cli.c
index 31b2ca88cbf..817fb50156b 100644
--- a/src/vnet/lisp-cp/lisp_cli.c
+++ b/src/vnet/lisp-cp/lisp_cli.c
@@ -1179,6 +1179,7 @@ lisp_add_del_locator_set_command_fn (vlib_main_t * vm,
}
}
+ vec_terminate_c_string (locator_set_name);
a->name = locator_set_name;
a->locators = locators;
a->is_add = is_add;