aboutsummaryrefslogtreecommitdiff
path: root/sbin/ipfw
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2015-10-21 05:37:09 +0000
committerEitan Adler <eadler@FreeBSD.org>2015-10-21 05:37:09 +0000
commit463a577b274c9523cb72f534d42e7efa4d8e1c3d (patch)
tree1149682a8773189b3c623000a582961e7e382c47 /sbin/ipfw
parentd82fd861a14a622047697f4a04f642ef6176b961 (diff)
downloadsrc-463a577b274c9523cb72f534d42e7efa4d8e1c3d.tar.gz
src-463a577b274c9523cb72f534d42e7efa4d8e1c3d.zip
Fix a ton of speelling errors
arc lint is helpful Reviewed By: allanjude, wblock, #manpages, chris@bsdjunk.com Differential Revision: https://reviews.freebsd.org/D3337
Notes
Notes: svn path=/head/; revision=289677
Diffstat (limited to 'sbin/ipfw')
-rw-r--r--sbin/ipfw/tables.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sbin/ipfw/tables.c b/sbin/ipfw/tables.c
index 506d771f7157..7eff340845f1 100644
--- a/sbin/ipfw/tables.c
+++ b/sbin/ipfw/tables.c
@@ -450,7 +450,7 @@ table_create(ipfw_obj_header *oh, int ac, char *av[])
}
}
- /* Set some defaults to preserve compability */
+ /* Set some defaults to preserve compatibility. */
if (xi.algoname[0] == '\0' && xi.type == 0)
xi.type = IPFW_TABLE_ADDR;
if (xi.vmask == 0)
@@ -918,7 +918,7 @@ table_modify_record(ipfw_obj_header *oh, int ac, char *av[], int add,
tentry_fill_key(oh, ptent, *av, add, &type, &vmask, &xi);
/*
- * compability layer: auto-create table if not exists
+ * Compatibility layer: auto-create table if not exists.
*/
if (xi.tablename[0] == '\0') {
xi.type = type;
@@ -1387,8 +1387,8 @@ tentry_fill_key(ipfw_obj_header *oh, ipfw_obj_tentry *tent, char *key,
vmask = xi->vmask;
} else {
/*
- * we're running `ipfw -n`
- * Compability layer: try to guess key type
+ * We're running `ipfw -n`
+ * Compatibility layer: try to guess key type
* before failing.
*/
if (guess_key_type(key, &type) != 0) {
@@ -1407,7 +1407,7 @@ tentry_fill_key(ipfw_obj_header *oh, ipfw_obj_tentry *tent, char *key,
oh->ntlv.name);
/*
* Table does not exist
- * Compability layer: try to guess key type before failing.
+ * Compatibility layer: try to guess key type before failing.
*/
if (guess_key_type(key, &type) != 0) {
/* Inknown key */