summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFilip Tehlar <ftehlar@cisco.com>2017-01-03 15:44:21 +0100
committerDamjan Marion <dmarion.lists@gmail.com>2017-01-03 18:23:19 +0000
commit35dc387354e5308b61262538024424e87b5a0154 (patch)
treeac656743517f3257d566cb9984142f32b5578560
parentc48b58a2165324e959f9ed820bf7db888b8ece49 (diff)
LISP: fix EID addition (VPP-577)
Change-Id: I32f61ab89598a7911df3d0d8f45de1302af8aa6a Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
-rw-r--r--vnet/vnet/lisp-cp/lisp_types.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/vnet/vnet/lisp-cp/lisp_types.c b/vnet/vnet/lisp-cp/lisp_types.c
index 5ab4a5eb449..748905d2fa4 100644
--- a/vnet/vnet/lisp-cp/lisp_types.c
+++ b/vnet/vnet/lisp-cp/lisp_types.c
@@ -1440,8 +1440,11 @@ gid_address_cmp (gid_address_t * a1, gid_address_t * a2)
return -1;
if (gid_address_vni (a1) != gid_address_vni (a2))
return -1;
- if (gid_address_vni_mask (a1) != gid_address_vni_mask (a2))
- return -1;
+
+ /* TODO vni mask is not supported, disable comparing for now
+ if (gid_address_vni_mask (a1) != gid_address_vni_mask (a2))
+ return -1;
+ */
switch (gid_address_type (a1))
{