diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2003-12-19 06:57:18 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2003-12-19 06:57:18 +0000 |
commit | 22ed6261abca4d60bf3090807501b6fb15cac426 (patch) | |
tree | 415251ca603718a894ad0e8936136609f915dac1 /sys/net/radix.c | |
parent | 06092d9e3d5c3e19c74833188f7f447786c35e6f (diff) |
rn_satsifies_leaf -> rn_satisfies_leaf
from itojun@netbsd rev 1.15
ok deraadt@
Diffstat (limited to 'sys/net/radix.c')
-rw-r--r-- | sys/net/radix.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/net/radix.c b/sys/net/radix.c index 952c73a4c9b..458efb1c5e9 100644 --- a/sys/net/radix.c +++ b/sys/net/radix.c @@ -1,4 +1,4 @@ -/* $OpenBSD: radix.c,v 1.12 2003/12/10 07:22:42 itojun Exp $ */ +/* $OpenBSD: radix.c,v 1.13 2003/12/19 06:57:17 brad Exp $ */ /* $NetBSD: radix.c,v 1.11 1996/03/16 23:55:36 christos Exp $ */ /* @@ -61,7 +61,7 @@ static char *rn_zeros, *rn_ones; #define Bcmp(a, b, l) (l == 0 ? 0 : bcmp((caddr_t)(a), (caddr_t)(b), (u_long)l)) -static int rn_satsifies_leaf(char *, struct radix_node *, int); +static int rn_satisfies_leaf(char *, struct radix_node *, int); static int rn_lexobetter(void *, void *); static struct radix_mask *rn_new_radix_mask(struct radix_node *, struct radix_mask *); @@ -183,7 +183,7 @@ rn_lookup(v_arg, m_arg, head) } static int -rn_satsifies_leaf(trial, leaf, skip) +rn_satisfies_leaf(trial, leaf, skip) char *trial; struct radix_node *leaf; int skip; @@ -271,7 +271,7 @@ on1: if (t->rn_flags & RNF_NORMAL) { if (rn_b <= t->rn_b) return t; - } else if (rn_satsifies_leaf(v, t, matched_off)) + } else if (rn_satisfies_leaf(v, t, matched_off)) return t; t = saved_t; /* start searching up the tree */ @@ -294,7 +294,7 @@ on1: x = rn_search_m(v, t, m->rm_mask); while (x && x->rn_mask != m->rm_mask) x = x->rn_dupedkey; - if (x && rn_satsifies_leaf(v, x, off)) + if (x && rn_satisfies_leaf(v, x, off)) return x; } } while ((m = m->rm_mklist) != NULL); |