aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2023-06-01 23:41:33 +0000
committerWarner Losh <imp@FreeBSD.org>2023-06-02 02:33:40 +0000
commit843fe4892e3c22edb22bc1b8ac9c1a44b0016671 (patch)
tree881474b313ad5a3dfdc7581008e80d4ca02bf89e
parentb66b2c4d9b3ffff93719373396dc245b7f1ea159 (diff)
downloadsrc-843fe4892e3c22edb22bc1b8ac9c1a44b0016671.tar.gz
src-843fe4892e3c22edb22bc1b8ac9c1a44b0016671.zip
ipf: Fix typos
Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/653
-rw-r--r--sbin/ipf/ipf/ipf.c2
-rw-r--r--sbin/ipf/ipftest/ip_fil.c2
-rw-r--r--sbin/ipf/ipsend/ipsend.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/sbin/ipf/ipf/ipf.c b/sbin/ipf/ipf/ipf.c
index de5121d94767..f2b668ba14b4 100644
--- a/sbin/ipf/ipf/ipf.c
+++ b/sbin/ipf/ipf/ipf.c
@@ -367,7 +367,7 @@ flushfilter(char *arg, int *filter)
if (!(opts & OPT_DONOTHING)) {
if (use_inet6) {
fprintf(stderr,
- "IPv6 rules are no longer seperate\n");
+ "IPv6 rules are no longer separate\n");
} else if (filter != NULL) {
ipfobj_t obj;
diff --git a/sbin/ipf/ipftest/ip_fil.c b/sbin/ipf/ipftest/ip_fil.c
index f5955ddffdfe..2d270924d1b4 100644
--- a/sbin/ipf/ipftest/ip_fil.c
+++ b/sbin/ipf/ipftest/ip_fil.c
@@ -558,7 +558,7 @@ ipf_newisn(fin)
/* ------------------------------------------------------------------------ */
/* Function: ipf_nextipid */
-/* Returns: int - 0 == success, -1 == error (packet should be droppped) */
+/* Returns: int - 0 == success, -1 == error (packet should be dropped) */
/* Parameters: fin(I) - pointer to packet information */
/* */
/* Returns the next IPv4 ID to use for this packet. */
diff --git a/sbin/ipf/ipsend/ipsend.h b/sbin/ipf/ipsend/ipsend.h
index bfec90f1c5b3..a8ed3cbc7430 100644
--- a/sbin/ipf/ipsend/ipsend.h
+++ b/sbin/ipf/ipsend/ipsend.h
@@ -8,7 +8,7 @@
* conditions, enough of the TCP header is missing for unpredictable
* results unless the filter is aware that this can happen.
*
- * The author provides this program as-is, with no gaurantee for its
+ * The author provides this program as-is, with no guarantee for its
* suitability for any specific purpose. The author takes no responsibility
* for the misuse/abuse of this program and provides it for the sole purpose
* of testing packet filter policies. This file maybe distributed freely