diff options
Diffstat (limited to 'vnet/vnet/lisp-cp/gid_dictionary.c')
-rw-r--r-- | vnet/vnet/lisp-cp/gid_dictionary.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vnet/vnet/lisp-cp/gid_dictionary.c b/vnet/vnet/lisp-cp/gid_dictionary.c index 752e1d3c5f4..a6699b99f16 100644 --- a/vnet/vnet/lisp-cp/gid_dictionary.c +++ b/vnet/vnet/lisp-cp/gid_dictionary.c @@ -21,7 +21,7 @@ mac_lookup (gid_dictionary_t * db, u32 vni, u8 * key) int rv; BVT(clib_bihash_kv) kv, value; - kv.key[0] = ((u64 *)key)[0]; + kv.key[0] = ((u64 *)key)[0] & MAC_BIT_MASK; kv.key[1] = (u64)vni; kv.key[2] = 0; |