diff options
author | Pavel TvrdĂk <pawel.tvrdik@gmail.cz> | 2015-05-19 08:53:34 +0200 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2015-06-08 02:24:08 +0200 |
commit | ae80a2de95d3d3c153ce20b90c9d8757d02cb33d (patch) | |
tree | be0c9427556557ff5b06b0250bc64ff33062199e /nest/neighbor.c | |
parent | e348ef01b433e06888310c1098a05291034a856c (diff) |
unsigned [int] -> uint
Diffstat (limited to 'nest/neighbor.c')
-rw-r--r-- | nest/neighbor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nest/neighbor.c b/nest/neighbor.c index 48b6b6ac..1685d67e 100644 --- a/nest/neighbor.c +++ b/nest/neighbor.c @@ -49,7 +49,7 @@ static slab *neigh_slab; static list sticky_neigh_list, neigh_hash_table[NEIGH_HASH_SIZE]; -static inline unsigned int +static inline uint neigh_hash(struct proto *p, ip_addr *a) { return (p->hash_key ^ ipa_hash(*a)) & (NEIGH_HASH_SIZE-1); @@ -126,7 +126,7 @@ neigh_find2(struct proto *p, ip_addr *a, struct iface *ifa, unsigned flags) { neighbor *n; int class, scope = -1; - unsigned int h = neigh_hash(p, a); + uint h = neigh_hash(p, a); struct iface *i; struct ifa *addr; |