summaryrefslogtreecommitdiffstats
path: root/src/vnet/lisp-cp/control.c
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2019-01-21 17:36:28 -0800
committerDamjan Marion <dmarion@me.com>2019-01-23 11:03:27 +0000
commite51a7a08492190684041a2232dbeacf064d3645a (patch)
tree8c6abc720b102f8e655da621f3f9fb026a1ac96e /src/vnet/lisp-cp/control.c
parent7425f9289bdc17d330044b0df0fc31cdeeca626b (diff)
lisp: cli for marking local mappings authoritative
Change-Id: I92af6455b50a49de4c912737fcd3b7787dd31de0 Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/lisp-cp/control.c')
-rw-r--r--src/vnet/lisp-cp/control.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/lisp-cp/control.c b/src/vnet/lisp-cp/control.c
index ca71bf885cf..1caad6ab8bd 100644
--- a/src/vnet/lisp-cp/control.c
+++ b/src/vnet/lisp-cp/control.c
@@ -774,6 +774,7 @@ vnet_lisp_map_cache_add_del (vnet_lisp_add_del_mapping_args_t * a,
m->is_static = a->is_static;
m->key = vec_dup (a->key);
m->key_id = a->key_id;
+ m->authoritative = a->authoritative;
map_index = m - lcm->mapping_pool;
gid_dictionary_add_del (&lcm->mapping_index_by_gid, &a->eid, map_index,