summaryrefslogtreecommitdiffstats
path: root/sbin/ipfw
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/ipfw
parent2c7e333641a412e800c1c521ddcb60d9f82e8e46 (diff)
downloadFreeBSD-src-5f1ca9b98226dc2417a50af15b77d5a5cfd6837a.zip
FreeBSD-src-5f1ca9b98226dc2417a50af15b77d5a5cfd6837a.tar.gz
Spelling fixes for sbin/
Diffstat (limited to 'sbin/ipfw')
-rw-r--r--sbin/ipfw/ipfw2.c8
-rw-r--r--sbin/ipfw/main.c2
2 files changed, 5 insertions, 5 deletions
diff --git a/sbin/ipfw/ipfw2.c b/sbin/ipfw/ipfw2.c
index 615c4d1..6b0e0f0 100644
--- a/sbin/ipfw/ipfw2.c
+++ b/sbin/ipfw/ipfw2.c
@@ -454,8 +454,8 @@ _substrcmp(const char *str1, const char* str2)
* of the first. A warning is printed to stderr in the case that the
* first string does not match the third.
*
- * This function exists to warn about the bizzare construction
- * strncmp(str, "by", 2) which is used to allow people to use a shotcut
+ * This function exists to warn about the bizarre construction
+ * strncmp(str, "by", 2) which is used to allow people to use a shortcut
* for "bytes". The problem is that in addition to accepting "by",
* "byt", "byte", and "bytes", it also excepts "by_rabid_dogs" and any
* other string beginning with "by".
@@ -2866,9 +2866,9 @@ chkarg:
((struct sockaddr_in*)&result)->sin_addr.s_addr =
INADDR_ANY;
} else {
- /*
+ /*
* Resolve the host name or address to a family and a
- * network representation of the addres.
+ * network representation of the address.
*/
if (getaddrinfo(*av, NULL, NULL, &res))
errx(EX_DATAERR, NULL);
diff --git a/sbin/ipfw/main.c b/sbin/ipfw/main.c
index debed4e..82a299b 100644
--- a/sbin/ipfw/main.c
+++ b/sbin/ipfw/main.c
@@ -167,7 +167,7 @@ ipfw_main(int oldac, char **oldav)
i++;
bcopy(arg+j, av_p, i-j);
av[ac] = av_p;
- av_p += i-j; /* the lenght of the string */
+ av_p += i-j; /* the length of the string */
*av_p++ = '\0';
ac++;
j = i + 1;
OpenPOWER on IntegriCloud