aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/lisp-cp/lisp_cli.c
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2019-01-29 17:30:29 -0800
committerDamjan Marion <dmarion@me.com>2019-01-30 09:06:56 +0000
commit822f5a498b3a21ee990a39d32b644eea947b31bb (patch)
tree0c58c4a02a867aa4640f967c1b14d7c6e8b483fa /src/vnet/lisp-cp/lisp_cli.c
parent4dee8cdb4ebcf7a7c11ae1ca67427d787b7e6cd4 (diff)
lisp: set reachable flag in map-register
Change-Id: I9faaa321113e435844931247f23dbc1d190cc9da 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 690850c7ac2..5cd183402b0 100644
--- a/src/vnet/lisp-cp/lisp_cli.c
+++ b/src/vnet/lisp-cp/lisp_cli.c
@@ -1177,6 +1177,7 @@ lisp_add_del_locator_set_command_fn (vlib_main_t * vm,
&locator.weight))
{
locator.local = 1;
+ locator.state = 1;
vec_add1 (locators, locator);
}
else