summaryrefslogtreecommitdiffstats
path: root/sbin/ipfw
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2016-04-30 19:04:59 +0000
committerpfg <pfg@FreeBSD.org>2016-04-30 19:04:59 +0000
commit9308a287b414d87065bd0b502f6e994d5e254f56 (patch)
treeb788ac91d22f06b6e6aa097a51c563f2f4ed26b6 /sbin/ipfw
parent6d36b5c0d31ac11e156faaedbde3be87dacb1d1e (diff)
downloadFreeBSD-src-9308a287b414d87065bd0b502f6e994d5e254f56.zip
FreeBSD-src-9308a287b414d87065bd0b502f6e994d5e254f56.tar.gz
sbin: minor spelling fixes.
No functional change.
Diffstat (limited to 'sbin/ipfw')
-rw-r--r--sbin/ipfw/ipfw2.c4
-rw-r--r--sbin/ipfw/ipv6.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/sbin/ipfw/ipfw2.c b/sbin/ipfw/ipfw2.c
index 21b6229..5389268 100644
--- a/sbin/ipfw/ipfw2.c
+++ b/sbin/ipfw/ipfw2.c
@@ -82,7 +82,7 @@ int ipfw_socket = -1;
* Check if we have enough space in cmd buffer. Note that since
* first 8? u32 words are reserved by reserved header, full cmd
* buffer can't be used, so we need to protect from buffer overrun
- * only. At the beginnig, cblen is less than actual buffer size by
+ * only. At the beginning, cblen is less than actual buffer size by
* size of ipfw_insn_u32 instruction + 1 u32 work. This eliminates need
* for checking small instructions fitting in given range.
* We also (ab)use the fact that ipfw_insn is always the first field
@@ -4929,7 +4929,7 @@ table_search_ctlv(ipfw_obj_ctlv *ctlv, uint16_t idx)
* Rules in reply are modified to store their actual ruleset number.
*
* (*1) TLVs inside IPFW_TLV_TBL_LIST needs to be sorted ascending
- * accoring to their idx field and there has to be no duplicates.
+ * according to their idx field and there has to be no duplicates.
* (*2) Numbered rules inside IPFW_TLV_RULE_LIST needs to be sorted ascending.
* (*3) Each ip_fw structure needs to be aligned to u64 boundary.
*/
diff --git a/sbin/ipfw/ipv6.c b/sbin/ipfw/ipv6.c
index c04dd70..6d884ee 100644
--- a/sbin/ipfw/ipv6.c
+++ b/sbin/ipfw/ipv6.c
@@ -325,7 +325,7 @@ lookup_host6 (char *host, struct in6_addr *ip6addr)
* any matches any IP6. Actually returns an empty instruction.
* me returns O_IP6_*_ME
*
- * 03f1::234:123:0342 single IP6 addres
+ * 03f1::234:123:0342 single IP6 address
* 03f1::234:123:0342/24 address/mask
* 03f1::234:123:0342/24,03f1::234:123:0343/ List of address
*
OpenPOWER on IntegriCloud