From 8432331b67f5a54896c40f42996eeda7b030b72c Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Sun, 18 Aug 2024 16:26:45 -0400 Subject: [PATCH] bgpd: Actually ensure the hash works Signed-off-by: Donald Sharp --- bgpd/bgp_attr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bgpd/bgp_attr.c b/bgpd/bgp_attr.c index e85918bf53..c178844cc9 100644 --- a/bgpd/bgp_attr.c +++ b/bgpd/bgp_attr.c @@ -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; } -- 2.39.5