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
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