From 387e88c0114b6b3a436bae0e9990765cde6d044b Mon Sep 17 00:00:00 2001 From: Igor Sobrado Date: Thu, 2 Sep 2010 14:03:23 +0000 Subject: remove trailing spaces and tabs from source code; no binary changes (verified by both sthen@ and me). ok sthen@; "just commit it" claudio@ --- usr.sbin/bgpd/kroute.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usr.sbin/bgpd/kroute.c') diff --git a/usr.sbin/bgpd/kroute.c b/usr.sbin/bgpd/kroute.c index 10c5bd68606..2ab93d78655 100644 --- a/usr.sbin/bgpd/kroute.c +++ b/usr.sbin/bgpd/kroute.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kroute.c,v 1.183 2010/07/12 14:35:13 bluhm Exp $ */ +/* $OpenBSD: kroute.c,v 1.184 2010/09/02 14:03:21 sobrado Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer @@ -1152,7 +1152,7 @@ kr_net_reload(u_int rtableid, struct network_head *nh) } else TAILQ_INSERT_TAIL(&kt->krn, n, entry); } - + for (n = TAILQ_FIRST(&kt->krn); n != NULL; n = xn) { xn = TAILQ_NEXT(n, entry); if (n->net.old) { @@ -1637,7 +1637,7 @@ kroute6_find(struct ktable *kt, const struct in6_addr *prefix, while (tmp) { if (kroute6_compare(&s, tmp) == 0) kn6 = tmp; - else + else break; tmp = RB_PREV(kroute6_tree, &kt->krt6, kn6); } -- cgit v1.2.3