summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Henderson <sthen@cvs.openbsd.org>2009-04-26 12:48:07 +0000
committerStuart Henderson <sthen@cvs.openbsd.org>2009-04-26 12:48:07 +0000
commitdae612b7b12f2237c227947ca69e88cd6eee5eb4 (patch)
treebb304e235fd9346a8e5ebaefdca280cc89017009
parent6d4451c73d4999e2350c9921a8d379e129621c55 (diff)
comment typos; no binary change
-rw-r--r--usr.sbin/ospfd/interface.c4
-rw-r--r--usr.sbin/ospfd/kroute.c4
-rw-r--r--usr.sbin/ospfd/ospfe.c6
3 files changed, 7 insertions, 7 deletions
diff --git a/usr.sbin/ospfd/interface.c b/usr.sbin/ospfd/interface.c
index 5bc357b448c..f48fc97b767 100644
--- a/usr.sbin/ospfd/interface.c
+++ b/usr.sbin/ospfd/interface.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: interface.c,v 1.61 2009/01/01 22:50:13 claudio Exp $ */
+/* $OpenBSD: interface.c,v 1.62 2009/04/26 12:48:06 sthen Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
@@ -435,7 +435,7 @@ start:
}
if (dr == NULL) {
- /* no designate router found use backup DR */
+ /* no designated router found use backup DR */
dr = bdr;
bdr = NULL;
}
diff --git a/usr.sbin/ospfd/kroute.c b/usr.sbin/ospfd/kroute.c
index f9b0257f7bd..23a1a22639b 100644
--- a/usr.sbin/ospfd/kroute.c
+++ b/usr.sbin/ospfd/kroute.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kroute.c,v 1.67 2009/01/16 20:50:13 gollo Exp $ */
+/* $OpenBSD: kroute.c,v 1.68 2009/04/26 12:48:06 sthen Exp $ */
/*
* Copyright (c) 2004 Esben Norby <norby@openbsd.org>
@@ -472,7 +472,7 @@ kr_redist_eval(struct kroute *kr, struct rroute *rr)
if (kr->nexthop.s_addr == htonl(INADDR_LOOPBACK))
goto dont_redistribute;
- /* Should we redistrubute this route? */
+ /* Should we redistribute this route? */
if (!ospf_redistribute(kr, &metric))
goto dont_redistribute;
diff --git a/usr.sbin/ospfd/ospfe.c b/usr.sbin/ospfd/ospfe.c
index 26af67020ba..068568dd117 100644
--- a/usr.sbin/ospfd/ospfe.c
+++ b/usr.sbin/ospfd/ospfe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ospfe.c,v 1.64 2009/04/07 14:57:33 reyk Exp $ */
+/* $OpenBSD: ospfe.c,v 1.65 2009/04/26 12:48:06 sthen Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
@@ -939,7 +939,7 @@ orig_rtr_lsa(struct area *area)
if (oeconf->border)
lsa_rtr.flags |= OSPF_RTR_B;
/* TODO set V flag if a active virtual link ends here and the
- * area is the tranist area for this link. */
+ * area is the transit area for this link. */
if (virtual)
lsa_rtr.flags |= OSPF_RTR_V;
@@ -1003,7 +1003,7 @@ orig_net_lsa(struct iface *iface)
}
if (num_rtr == 1) {
- /* non transit net therefor no need to generate a net lsa */
+ /* non transit net therefore no need to generate a net lsa */
buf_free(buf);
return;
}