diff options
author | Filip Tehlar <ftehlar@cisco.com> | 2016-10-03 14:08:59 +0200 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2016-10-03 14:20:03 +0000 |
commit | 240977f2fb7c15d39b9640d1bfb6f10c3b1d1d9e (patch) | |
tree | d8460a6914477d7501db74d813a5f2c9ebcbb9a5 /vnet | |
parent | 5e575b1d59a5a4c1590ca09d6383a876fb9fdd25 (diff) |
Fix string parsing in lisp map-request itr-rlocs command
Change-Id: Ie17b324492d61130690ba9d05821eaefe10072d4
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'vnet')
-rw-r--r-- | vnet/vnet/lisp-cp/control.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vnet/vnet/lisp-cp/control.c b/vnet/vnet/lisp-cp/control.c index 82fcb4f9..579f4f3a 100644 --- a/vnet/vnet/lisp-cp/control.c +++ b/vnet/vnet/lisp-cp/control.c @@ -2544,7 +2544,7 @@ lisp_add_del_mreq_itr_rlocs_command_fn (vlib_main_t * vm, { if (unformat (line_input, "del")) is_add = 0; - else if (unformat (line_input, "add %s", &locator_set_name)) + else if (unformat (line_input, "add %_%v%_", &locator_set_name)) is_add = 1; else { |