From d0126f0bf0098104cd99fedd61a4bdbe7f7b3f1f Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Mon, 8 May 2000 11:40:30 +0000 Subject: [PATCH] bugs_in_attr_cache_hashing--; --- nest/rt-attr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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