git: ecc467ebad06 - main - ipsec(4): Fix a few typos in error messages

From: Gordon Bergling <gbe_at_FreeBSD.org>
Date: Sun, 06 Feb 2022 12:45:04 UTC
The branch main has been updated by gbe (doc committer):

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

commit ecc467ebad065299804ca556e86c0c5ebf060700
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2022-02-06 12:43:42 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2022-02-06 12:43:42 +0000

    ipsec(4): Fix a few typos in error messages
    
    - s/receieve/receive/
    
    MFC after:      1 week
---
 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 029dd64f3b35..c15fb5a2b5aa 100644
--- a/usr.bin/netstat/ipsec.c
+++ b/usr.bin/netstat/ipsec.c
@@ -351,7 +351,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");
@@ -402,10 +402,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");