summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2005-10-19 21:43:21 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2005-10-19 21:43:21 +0000
commit6cc50076be1a42446a48308ffc6f632c359b8b49 (patch)
tree9bc812ec8711f04a8210712317f31e817830e3d2 /usr.sbin
parent10dc5a2308efbcb0e25a058fea1af94fe8a09add (diff)
fix some spellings in comments.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/ospfd/database.c4
-rw-r--r--usr.sbin/ospfd/interface.c6
-rw-r--r--usr.sbin/ospfd/lsupdate.c4
-rw-r--r--usr.sbin/ospfd/ospfe.c4
-rw-r--r--usr.sbin/ospfd/rde.c4
5 files changed, 11 insertions, 11 deletions
diff --git a/usr.sbin/ospfd/database.c b/usr.sbin/ospfd/database.c
index 1ebc12cab46..9714f6b5662 100644
--- a/usr.sbin/ospfd/database.c
+++ b/usr.sbin/ospfd/database.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: database.c,v 1.14 2005/10/18 15:39:05 claudio Exp $ */
+/* $OpenBSD: database.c,v 1.15 2005/10/19 21:43:20 claudio Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
@@ -308,7 +308,7 @@ recv_db_description(struct nbr *nbr, char *buf, u_int16_t len)
nbr->dd_seq_num = ntohl(dd_hdr.dd_seq_num);
}
- /* forward to RDE and let it decide which LSA's to request */
+ /* forward to RDE and let it decide which LSAs to request */
if (len > 0) {
nbr->dd_pending++;
ospfe_imsg_compose_rde(IMSG_DD, nbr->peerid, 0,
diff --git a/usr.sbin/ospfd/interface.c b/usr.sbin/ospfd/interface.c
index cc3b24860c9..9534244682a 100644
--- a/usr.sbin/ospfd/interface.c
+++ b/usr.sbin/ospfd/interface.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: interface.c,v 1.37 2005/10/18 15:40:36 claudio Exp $ */
+/* $OpenBSD: interface.c,v 1.38 2005/10/19 21:43:20 claudio Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
@@ -417,7 +417,7 @@ start:
continue;
if (bdr != NULL) {
/*
- * routers announcing themselfs as BDR have higher
+ * routers announcing themselves as BDR have higher
* precedence over those routers announcing a
* different BDR.
*/
@@ -460,7 +460,7 @@ start:
(iface->self == bdr && iface->self != iface->bdr) ||
(iface->self != bdr && iface->self == iface->bdr))) {
/*
- * Reset announced DR/DBR to calculated one, so
+ * Reset announced DR/BDR to calculated one, so
* that we may get elected in the second round.
* This is needed to drop from a DR to a BDR.
*/
diff --git a/usr.sbin/ospfd/lsupdate.c b/usr.sbin/ospfd/lsupdate.c
index e0206d8ff04..1f35e31887c 100644
--- a/usr.sbin/ospfd/lsupdate.c
+++ b/usr.sbin/ospfd/lsupdate.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lsupdate.c,v 1.16 2005/10/19 13:07:58 stevesk Exp $ */
+/* $OpenBSD: lsupdate.c,v 1.17 2005/10/19 21:43:20 claudio Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
@@ -178,7 +178,7 @@ send_ls_update(struct iface *iface, struct in_addr addr, void *data, int len)
if (buf_add(buf, data, len))
goto fail;
- /* age LSA befor sending it out */
+ /* age LSA before sending it out */
memcpy(&age, data, sizeof(age));
age = ntohs(age);
if ((age += iface->transmit_delay) >= MAX_AGE)
diff --git a/usr.sbin/ospfd/ospfe.c b/usr.sbin/ospfd/ospfe.c
index dcdde51e3c6..50e01f78003 100644
--- a/usr.sbin/ospfd/ospfe.c
+++ b/usr.sbin/ospfd/ospfe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ospfe.c,v 1.32 2005/10/18 15:40:36 claudio Exp $ */
+/* $OpenBSD: ospfe.c,v 1.33 2005/10/19 21:43:20 claudio Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
@@ -495,7 +495,7 @@ ospfe_dispatch_rde(int fd, short event, void *bula)
/*
* IMSG_LS_ACK is used in two cases:
* 1. LSA was a duplicate
- * 2. LSA's age is MaxAge and there is no current
+ * 2. LS age is MaxAge and there is no current
* instance in the DB plus no neighbor is state
* Exchange or Loading
*/
diff --git a/usr.sbin/ospfd/rde.c b/usr.sbin/ospfd/rde.c
index 200d5fc3f13..7926690a7e1 100644
--- a/usr.sbin/ospfd/rde.c
+++ b/usr.sbin/ospfd/rde.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rde.c,v 1.30 2005/10/12 09:51:58 claudio Exp $ */
+/* $OpenBSD: rde.c,v 1.31 2005/10/19 21:43:20 claudio Exp $ */
/*
* Copyright (c) 2004, 2005 Claudio Jeker <claudio@openbsd.org>
@@ -302,7 +302,7 @@ rde_dispatch_imsg(int fd, short event, void *bula)
if (lsa_newer(&lsa_hdr, db_hdr) > 0) {
/*
- * only request LSA's that are
+ * only request LSAs that are
* newer or missing
*/
rde_req_list_add(nbr, &lsa_hdr);