diff options
author | Martin Mares <mj@ucw.cz> | 2000-05-08 11:40:30 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2000-05-08 11:40:30 +0000 |
commit | d0126f0bf0098104cd99fedd61a4bdbe7f7b3f1f (patch) | |
tree | c43fb58fc6987078afe7f83db6e513771018b399 | |
parent | 79681f4a19d0eca6e40d919a387099f5646f29bc (diff) |
bugs_in_attr_cache_hashing--;
-rw-r--r-- | nest/rt-attr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nest/rt-attr.c b/nest/rt-attr.c index 700a90b5..75e9435f 100644 --- a/nest/rt-attr.c +++ b/nest/rt-attr.c @@ -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 |