diff options
author | Stuart Henderson <sthen@cvs.openbsd.org> | 2013-03-22 13:17:55 +0000 |
---|---|---|
committer | Stuart Henderson <sthen@cvs.openbsd.org> | 2013-03-22 13:17:55 +0000 |
commit | d75fa0f2cbb23e7958a7e97e3ebd02f525ecd616 (patch) | |
tree | 75162a44b0f5041e8a6f1f8665102d72013f121f /usr.sbin | |
parent | d9246ac4e5a685960e0a0004b04beb8ade5f3cec (diff) |
sync comment typos/whitespace with ospfd
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/ospf6d/kroute.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/ospf6d/kroute.c b/usr.sbin/ospf6d/kroute.c index 248a50f028f..25556c66f89 100644 --- a/usr.sbin/ospf6d/kroute.c +++ b/usr.sbin/ospf6d/kroute.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kroute.c,v 1.41 2013/01/14 14:39:38 florian Exp $ */ +/* $OpenBSD: kroute.c,v 1.42 2013/03/22 13:17:54 sthen Exp $ */ /* * Copyright (c) 2004 Esben Norby <norby@openbsd.org> @@ -400,20 +400,21 @@ kr_redist_eval(struct kroute *kr, struct rroute *rr) !(kr->flags & (F_BLACKHOLE|F_REJECT))) goto dont_redistribute; - /* Should we redistrubute this route? */ + /* Should we redistribute this route? */ if (!ospf_redistribute(kr, &metric)) goto dont_redistribute; /* prefix should be redistributed */ kr->flags |= F_REDISTRIBUTED; /* - * only on of all multipath routes can be redistributed so + * only one of all multipath routes can be redistributed so * redistribute the best one. */ if (rr->metric > metric) { rr->kr = *kr; rr->metric = metric; } + return (1); dont_redistribute: |