diff options
author | Martin Mares <mj@ucw.cz> | 2000-05-08 13:40:30 +0200 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2000-05-08 13:40:30 +0200 |
commit | d0126f0bf0098104cd99fedd61a4bdbe7f7b3f1f (patch) | |
tree | c43fb58fc6987078afe7f83db6e513771018b399 | |
parent | 79681f4a19d0eca6e40d919a387099f5646f29bc (diff) | |
download | bird-d0126f0bf0098104cd99fedd61a4bdbe7f7b3f1f.tar bird-d0126f0bf0098104cd99fedd61a4bdbe7f7b3f1f.zip |
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 700a90b..75e9435 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 |