bgpd: Actually ensure the hash works

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
Donald Sharp 2024-08-18 16:26:45 -04:00
parent 38b9df8e58
commit 8432331b67

View file

@ -600,7 +600,7 @@ static uint32_t evpn_overlay_hash_key_make(const void *p)
array_size(bre->gw_ip.ipaddr_v6.s6_addr32), 0);
key = jhash_1word(bre->type, key);
key = jhash(bre->eth_s_id.val, sizeof(bre->eth_s_id.val), 0);
key = jhash(bre->eth_s_id.val, sizeof(bre->eth_s_id.val), key);
return key;
}