git: 843fe4892e3c - main - ipf: Fix typos
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 02 Jun 2023 02:33:58 UTC
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=843fe4892e3c22edb22bc1b8ac9c1a44b0016671
commit 843fe4892e3c22edb22bc1b8ac9c1a44b0016671
Author: Elyes Haouas <ehaouas@noos.fr>
AuthorDate: 2023-06-01 23:41:33 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-06-02 02:33:40 +0000
ipf: Fix typos
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/653
---
sbin/ipf/ipf/ipf.c | 2 +-
sbin/ipf/ipftest/ip_fil.c | 2 +-
sbin/ipf/ipsend/ipsend.h | 2 +-
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