summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Krause <david@cvs.openbsd.org>2006-10-24 16:37:49 +0000
committerDavid Krause <david@cvs.openbsd.org>2006-10-24 16:37:49 +0000
commit2b5dbfde52f78b648a88e2a7be17ce9e4874b93b (patch)
tree78190a085ef52354fe68dc3801642a9768608c67
parenta7490af104f00f33b8e55863057c5b3c32ea5121 (diff)
spelling and typo fixes
-rw-r--r--usr.sbin/ripd/kroute.c4
-rw-r--r--usr.sbin/ripd/message.c4
-rw-r--r--usr.sbin/ripd/packet.c6
-rw-r--r--usr.sbin/ripd/parse.y4
-rw-r--r--usr.sbin/ripd/rde.c4
5 files changed, 11 insertions, 11 deletions
diff --git a/usr.sbin/ripd/kroute.c b/usr.sbin/ripd/kroute.c
index 39a18ab353b..4ac29fa33b7 100644
--- a/usr.sbin/ripd/kroute.c
+++ b/usr.sbin/ripd/kroute.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kroute.c,v 1.1 2006/10/18 16:11:58 norby Exp $ */
+/* $OpenBSD: kroute.c,v 1.2 2006/10/24 16:37:48 david Exp $ */
/*
* Copyright (c) 2004 Esben Norby <norby@openbsd.org>
@@ -374,7 +374,7 @@ dont_redistribute:
if (kr->nexthop.s_addr == htonl(INADDR_LOOPBACK))
return;
- /* Should we redistrubute this route? */
+ /* Should we redistribute this route? */
if (!rip_redistribute(kr))
goto dont_redistribute;
diff --git a/usr.sbin/ripd/message.c b/usr.sbin/ripd/message.c
index d8e1e75abbd..e55bf08bb8f 100644
--- a/usr.sbin/ripd/message.c
+++ b/usr.sbin/ripd/message.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: message.c,v 1.1 2006/10/18 16:11:58 norby Exp $ */
+/* $OpenBSD: message.c,v 1.2 2006/10/24 16:37:48 david Exp $ */
/*
* Copyright (c) 2006 Michele Marchetto <mydecay@openbeer.it>
@@ -304,7 +304,7 @@ recv_request(struct iface *i, struct nbr *nbr, char *buf, u_int16_t len)
/*
* XXX is it guaranteed that bus is properly aligned.
- * If not this will bomb on strict aligenment archs.
+ * If not this will bomb on strict alignment archs.
* */
e = (struct rip_entry *)buf;
diff --git a/usr.sbin/ripd/packet.c b/usr.sbin/ripd/packet.c
index 5cbb1e94472..50a9ba6f789 100644
--- a/usr.sbin/ripd/packet.c
+++ b/usr.sbin/ripd/packet.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: packet.c,v 1.2 2006/10/19 12:29:58 mcbride Exp $ */
+/* $OpenBSD: packet.c,v 1.3 2006/10/24 16:37:48 david Exp $ */
/*
* Copyright (c) 2006 Michele Marchetto <mydecay@openbeer.it>
@@ -169,7 +169,7 @@ recv_packet(int fd, short event, void *bula)
return;
/* XXX: it would be better to not create a nbr on request
- * becouse this could lead to DoS even on a authenticated
+ * because this could lead to DoS even on a authenticated
* environment.
*/
if (nbr == NULL) {
@@ -241,7 +241,7 @@ find_iface(struct ripd_conf *xconf, unsigned int ifindex, struct in_addr src)
/*
* XXX may fail on P2P links because src and dst don't
* have to share a common subnet on the otherhand
- * checking somthing like this will help to support
+ * checking something like this will help to support
* multiple networks configured on one interface.
*/
return (iface);
diff --git a/usr.sbin/ripd/parse.y b/usr.sbin/ripd/parse.y
index e5e98ca8b18..602c679500e 100644
--- a/usr.sbin/ripd/parse.y
+++ b/usr.sbin/ripd/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.1 2006/10/18 16:11:58 norby Exp $ */
+/* $OpenBSD: parse.y,v 1.2 2006/10/24 16:37:48 david Exp $ */
/*
* Copyright (c) 2006 Michele Marchetto <mydecay@openbeer.it>
@@ -261,7 +261,7 @@ authtype : AUTHTYPE STRING {
authkey : AUTHKEY STRING {
if (strlen($2) > MAX_SIMPLE_AUTH_LEN) {
- yyerror("auth-key too long (max lenght %d)",
+ yyerror("auth-key too long (max length %d)",
MAX_SIMPLE_AUTH_LEN);
free($2);
YYERROR;
diff --git a/usr.sbin/ripd/rde.c b/usr.sbin/ripd/rde.c
index 262eff65309..82269981e73 100644
--- a/usr.sbin/ripd/rde.c
+++ b/usr.sbin/ripd/rde.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rde.c,v 1.1 2006/10/18 16:11:58 norby Exp $ */
+/* $OpenBSD: rde.c,v 1.2 2006/10/24 16:37:48 david Exp $ */
/*
* Copyright (c) 2006 Michele Marchetto <mydecay@openbeer.it>
@@ -413,7 +413,7 @@ rde_check_route(struct rip_route *e)
triggered_update(rn);
} else {
/*
- * XXX don't we have to track all incomming routes?
+ * XXX don't we have to track all incoming routes?
* what happens if the kernel route is removed later.
*/
if (rn->flags & F_KERNEL)