git: 2460d015c9dc - stable/12 - ipsec(4): Fix a few typos in error messages

From: Gordon Bergling <gbe_at_FreeBSD.org>
Date: Sun, 13 Feb 2022 07:54:18 UTC
The branch stable/12 has been updated by gbe (doc committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=2460d015c9dcfed280711244fa9ddfc3798b574f

commit 2460d015c9dcfed280711244fa9ddfc3798b574f
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2022-02-06 12:43:42 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2022-02-13 07:54:03 +0000

    ipsec(4): Fix a few typos in error messages
    
    - s/receieve/receive/
    
    (cherry picked from commit ecc467ebad065299804ca556e86c0c5ebf060700)
---
 usr.bin/netstat/ipsec.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/usr.bin/netstat/ipsec.c b/usr.bin/netstat/ipsec.c
index 46398ff9e69a..917b709cf567 100644
--- a/usr.bin/netstat/ipsec.c
+++ b/usr.bin/netstat/ipsec.c
@@ -359,7 +359,7 @@ print_espstats(const struct espstat *espstat)
 	p(esps_input, "received-packets", "packet%s in");
 	p(esps_output, "sent-packets", "packet%s out");
 	p(esps_invalid, "dropped-bad-tdb", "packet%s dropped; invalid TDB");
-	p(esps_ibytes, "receieve-bytes", "byte%s in");
+	p(esps_ibytes, "receive-bytes", "byte%s in");
 	p(esps_obytes, "sent-bytes", "byte%s out");
 	p(esps_toobig, "dropped-too-large",
 	    "packet%s dropped; larger than IP_MAXPACKET");
@@ -410,10 +410,10 @@ print_ipcompstats(const struct ipcompstat *ipcompstat)
 	p(ipcomps_noxform, "dropped-no-transform",
 	    "packet%s dropped; no transform");
 	p(ipcomps_wrap, "replay-counter-wraps", "replay counter wrap%s");
-	p(ipcomps_input, "receieve-packets", "packet%s in");
+	p(ipcomps_input, "receive-packets", "packet%s in");
 	p(ipcomps_output, "sent-packets", "packet%s out");
 	p(ipcomps_invalid, "dropped-bad-tdb", "packet%s dropped; invalid TDB");
-	p(ipcomps_ibytes, "receieved-bytes", "byte%s in");
+	p(ipcomps_ibytes, "received-bytes", "byte%s in");
 	p(ipcomps_obytes, "sent-bytes", "byte%s out");
 	p(ipcomps_toobig, "dropped-too-large",
 	    "packet%s dropped; larger than IP_MAXPACKET");