summaryrefslogtreecommitdiffstats
path: root/sbin/routed
diff options
context:
space:
mode:
authoruqs <uqs@FreeBSD.org>2012-01-07 16:09:33 +0000
committeruqs <uqs@FreeBSD.org>2012-01-07 16:09:33 +0000
commit5f1ca9b98226dc2417a50af15b77d5a5cfd6837a (patch)
treefae895b09014d4ae2ae2cdaf825a995dde64c138 /sbin/routed
parent2c7e333641a412e800c1c521ddcb60d9f82e8e46 (diff)
downloadFreeBSD-src-5f1ca9b98226dc2417a50af15b77d5a5cfd6837a.zip
FreeBSD-src-5f1ca9b98226dc2417a50af15b77d5a5cfd6837a.tar.gz
Spelling fixes for sbin/
Diffstat (limited to 'sbin/routed')
-rw-r--r--sbin/routed/main.c4
-rw-r--r--sbin/routed/radix.c4
-rw-r--r--sbin/routed/table.c2
3 files changed, 5 insertions, 5 deletions
diff --git a/sbin/routed/main.c b/sbin/routed/main.c
index 85bc9e8..1658d2e 100644
--- a/sbin/routed/main.c
+++ b/sbin/routed/main.c
@@ -414,7 +414,7 @@ usage:
continue;
}
- /* Check the kernel table occassionally for mysteriously
+ /* Check the kernel table occasionally for mysteriously
* evaporated routes
*/
timevalsub(&t2, &flush_kern_timer, &now);
@@ -446,7 +446,7 @@ usage:
* the previous update was finished.
* Even if we just started after discovering
* a 2nd interface or were otherwise delayed,
- * pick a 30-second aniversary of the
+ * pick a 30-second anniversary of the
* original broadcast time.
*/
n = 1 + (0-t2.tv_sec)/SUPPLY_INTERVAL;
diff --git a/sbin/routed/radix.c b/sbin/routed/radix.c
index 7685f78..5365e6d 100644
--- a/sbin/routed/radix.c
+++ b/sbin/routed/radix.c
@@ -97,7 +97,7 @@ static struct radix_node *rn_match(void *v_arg, struct radix_node_head *head);
* node as high in the tree as we can go.
*
* The present version of the code makes use of normal routes in short-
- * circuiting an explict mask and compare operation when testing whether
+ * circuiting an explicit mask and compare operation when testing whether
* a key satisfies a normal route, and also in remembering the unique leaf
* that governs a subtree.
*/
@@ -247,7 +247,7 @@ rn_match(void *v_arg,
*
* In this case, we have a complete match of the key. Unless
* the node is one of the roots, we are finished.
- * If it is the zeros root, then take what we have, prefering
+ * If it is the zeros root, then take what we have, preferring
* any real data.
* If it is the ones root, then pretend the target key was followed
* by a byte of zeros.
diff --git a/sbin/routed/table.c b/sbin/routed/table.c
index 8054a49..ec36989 100644
--- a/sbin/routed/table.c
+++ b/sbin/routed/table.c
@@ -2071,7 +2071,7 @@ walk_age(struct radix_node *rn,
/* try to switch to an alternative */
rtswitch(RT, 0);
- /* Delete a dead route after it has been publically mourned. */
+ /* Delete a dead route after it has been publicly mourned. */
if (now_garbage > RT->rt_time) {
rtdelete(RT);
return 0;
OpenPOWER on IntegriCloud