diff options
Diffstat (limited to 'nest')
-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 |