git: 36a642a06dea - stable/13 - netpfil: Fix typos in source code comments

From: Gordon Bergling <gbe_at_FreeBSD.org>
Date: Sun, 21 Apr 2024 07:35:13 UTC
The branch stable/13 has been updated by gbe:

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

commit 36a642a06dea48613c20597c9f22567ed9b4a23b
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2024-04-18 14:17:10 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2024-04-21 07:34:36 +0000

    netpfil: Fix typos in source code comments
    
    - s/addres/address/
    
    (cherry picked from commit 8ce3ef5f35fd4dc442b1a33605ca7d3132047faf)
---
 sys/netpfil/ipfilter/netinet/ip_fil.h     | 4 ++--
 sys/netpfil/ipfilter/netinet/ip_ftp_pxy.c | 2 +-
 sys/netpfil/pf/pf.c                       | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sys/netpfil/ipfilter/netinet/ip_fil.h b/sys/netpfil/ipfilter/netinet/ip_fil.h
index 3db2b23512ef..7343fd079564 100644
--- a/sys/netpfil/ipfilter/netinet/ip_fil.h
+++ b/sys/netpfil/ipfilter/netinet/ip_fil.h
@@ -593,8 +593,8 @@ typedef	struct	fripf	{
 	u_short		fri_icmp;
 
 	frtuc_t		fri_tuc;
-	fr_atypes_t	fri_satype;	/* addres type */
-	fr_atypes_t	fri_datype;	/* addres type */
+	fr_atypes_t	fri_satype;	/* address type */
+	fr_atypes_t	fri_datype;	/* address type */
 	int		fri_sifpidx;	/* doing dynamic addressing */
 	int		fri_difpidx;	/* index into fr_ifps[] to use when */
 } fripf_t;
diff --git a/sys/netpfil/ipfilter/netinet/ip_ftp_pxy.c b/sys/netpfil/ipfilter/netinet/ip_ftp_pxy.c
index 863201e2fef3..7e16bbaf7ccc 100644
--- a/sys/netpfil/ipfilter/netinet/ip_ftp_pxy.c
+++ b/sys/netpfil/ipfilter/netinet/ip_ftp_pxy.c
@@ -1836,7 +1836,7 @@ ipf_p_ftp_epsv(ipf_ftp_softc_t *softf, fr_info_t *fin, ip_t *ip, nat_t *nat,
 		s++;
 
 	/*
-	 * As per RFC 2428, there are no addres components in the EPSV
+	 * As per RFC 2428, there are no address components in the EPSV
 	 * response.  So we'll go straight to getting the port.
 	 */
 	while (*s && ISDIGIT(*s)) {
diff --git a/sys/netpfil/pf/pf.c b/sys/netpfil/pf/pf.c
index e03fcbbe37a9..1fd5803117bd 100644
--- a/sys/netpfil/pf/pf.c
+++ b/sys/netpfil/pf/pf.c
@@ -5563,7 +5563,7 @@ again:
 				break;
 			}
 
-			/* Only add the addres if we've actually allowed the state. */
+			/* Only add the address if we've actually allowed the state. */
 			pf_sctp_multihome_add_addr(pd, &j->src, v_tag);
 
 			if (! do_extra) {