forked from Mirror/frr
bgpd: Actually ensure the hash works
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
parent
38b9df8e58
commit
8432331b67
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue