diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2010-05-18 15:19:08 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2010-05-18 15:19:08 +0000 |
commit | bdccfe80759f2c7ad70da3a64d846fbd2cffd07e (patch) | |
tree | 4bef9d7992847458f4a85023f3ea6f812c84bff3 /usr.sbin | |
parent | e7ce32b9db23d3123ba06cdec6c5687df09bca29 (diff) |
Spacing.
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/ospfd/kroute.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/ospfd/kroute.c b/usr.sbin/ospfd/kroute.c index 5fd4704c832..9d66bf3b5e1 100644 --- a/usr.sbin/ospfd/kroute.c +++ b/usr.sbin/ospfd/kroute.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kroute.c,v 1.80 2010/04/02 23:55:37 sthen Exp $ */ +/* $OpenBSD: kroute.c,v 1.81 2010/05/18 15:19:07 claudio Exp $ */ /* * Copyright (c) 2004 Esben Norby <norby@openbsd.org> @@ -641,7 +641,7 @@ kroute_find(in_addr_t prefix, u_int8_t prefixlen, u_int8_t prio) while (tmp) { if (kroute_compare(&s, tmp) == 0) kn = tmp; - else + else break; tmp = RB_PREV(kroute_tree, &krt, kn); } @@ -665,7 +665,6 @@ kroute_matchgw(struct kroute_node *kr, struct in_addr nh) return (NULL); } - int kroute_insert(struct kroute_node *kr) { |