git: bf2582cf15f5 - stable/14 - netpfil: Fix typos in source code comments
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 21 Apr 2024 07:34:10 UTC
The branch stable/14 has been updated by gbe: URL: https://cgit.FreeBSD.org/src/commit/?id=bf2582cf15f5250b3cdf1ad405b0ff8ea9b83dd7 commit bf2582cf15f5250b3cdf1ad405b0ff8ea9b83dd7 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:33:02 +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 8f1ee3d8d05f..3bc74247251a 100644 --- a/sys/netpfil/ipfilter/netinet/ip_ftp_pxy.c +++ b/sys/netpfil/ipfilter/netinet/ip_ftp_pxy.c @@ -1834,7 +1834,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 b0b0a02afaf4..5fc234c5aca9 100644 --- a/sys/netpfil/pf/pf.c +++ b/sys/netpfil/pf/pf.c @@ -6154,7 +6154,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) {