0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 01:31:55 +00:00

bugs_in_attr_cache_hashing--;

This commit is contained in:
Martin Mares 2000-05-08 11:40:30 +00:00
parent 79681f4a19
commit d0126f0bf0

View File

@ -419,7 +419,7 @@ rta_alloc_hash(void)
static inline unsigned int static inline unsigned int
rta_hash(rta *a) rta_hash(rta *a)
{ {
return a->proto->hash_key ^ ipa_hash(a->gw) ^ ea_hash(a->eattrs); return (a->proto->hash_key ^ ipa_hash(a->gw) ^ ea_hash(a->eattrs)) & 0xffff;
} }
static inline int static inline int