vxlan:decap caching error (VPP-1462)

Change-Id: I3ef0725684bcb8ea526abe0ce62562b35a0070f5
Signed-off-by: Eyal Bari <ebari@cisco.com>
(cherry picked from commit 0d87894bf2)
This commit is contained in:
Eyal Bari
2018-10-17 17:13:42 +03:00
committed by John Lo
parent 87460d05e8
commit 9be7c6da31

View File

@ -91,7 +91,7 @@ vxlan4_find_tunnel (vxlan_main_t * vxm, last_tunnel_cache4 * cache,
};
if (PREDICT_TRUE
(key4.key[0] == cache->key[0] || key4.key[1] == cache->key[1]))
(key4.key[0] == cache->key[0] && key4.key[1] == cache->key[1]))
{
/* cache hit */
vxlan_decap_info_t di = {.as_u64 = cache->value };