aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet
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:24:42 +0000
commit66f76f287824188bc707eb1c88c1d94f201e66f5 (patch)
treea2072034e8e0090f01e019b3e53270283b6be621 /src/vnet
parentb17402ecd0a1e163d845d3c9e1abfe98d7435ca8 (diff)
LISP: fix EID addition
Change-Id: I32f61ab89598a7911df3d0d8f45de1302af8aa6a Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'src/vnet')
-rw-r--r--src/vnet/lisp-cp/lisp_types.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/vnet/lisp-cp/lisp_types.c b/src/vnet/lisp-cp/lisp_types.c
index 5ab4a5eb449..748905d2fa4 100644
--- a/src/vnet/lisp-cp/lisp_types.c
+++ b/src/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))
{