bugs_in_attr_cache_hashing--;
This commit is contained in:
parent
79681f4a19
commit
d0126f0bf0
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue