Commit d0126f0b authored by Martin Mareš's avatar Martin Mareš
Browse files

bugs_in_attr_cache_hashing--;

parent 79681f4a
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment