summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2009-07-23 16:36:28 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2009-07-23 16:36:28 +0000
commite23e22e3d99bf36093f3183ce7533c210f4b8a78 (patch)
tree0d156378cf0ee88b6434f1d54e8e1d3087b92121
parentf79c24b0524ca827a2c2ea206f5387d4e129a6e6 (diff)
Spelling and comment fixes by stsp@
-rw-r--r--usr.sbin/ospfd/kroute.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.sbin/ospfd/kroute.c b/usr.sbin/ospfd/kroute.c
index f2abe979071..e9ff061848f 100644
--- a/usr.sbin/ospfd/kroute.c
+++ b/usr.sbin/ospfd/kroute.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kroute.c,v 1.71 2009/06/05 22:40:24 chris Exp $ */
+/* $OpenBSD: kroute.c,v 1.72 2009/07/23 16:36:27 claudio Exp $ */
/*
* Copyright (c) 2004 Esben Norby <norby@openbsd.org>
@@ -483,7 +483,7 @@ kr_redist_eval(struct kroute *kr, struct rroute *rr)
/* 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) {
@@ -637,8 +637,7 @@ kroute_insert(struct kroute_node *kr)
if ((krm = RB_INSERT(kroute_tree, &krt, kr)) != NULL) {
/*
- * Multipath route, add at end of list and clone the
- * ospfd inserted flag.
+ * Multipath route, add at end of list.
*/
while (krm->next != NULL)
krm = krm->next;