summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2024-08-18 16:26:45 -0400
committerDonald Sharp <sharpd@nvidia.com>2024-08-18 16:26:45 -0400
commit8432331b67f5a54896c40f42996eeda7b030b72c (patch)
treed2c7cf2ba5feac3979caf6c887005b86dcddb905
parent38b9df8e589889dd51a9911e360e77ed819ada8b (diff)
bgpd: Actually ensure the hash works
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
-rw-r--r--bgpd/bgp_attr.c2
1 files changed, 1 insertions, 1 deletions
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;
}