Skip to content

Commit

Permalink
bgpd: Actually ensure the hash works
Browse files Browse the repository at this point in the history
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
  • Loading branch information
donaldsharp committed Aug 18, 2024
1 parent 38b9df8 commit 8432331
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bgpd/bgp_attr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 8432331

Please sign in to comment.