netpfil: Fix typos in source code comments

- s/addres/address/

MFC after:	3 days
This commit is contained in:
Gordon Bergling 2024-04-18 16:17:10 +02:00
parent 26a09db3ad
commit 8ce3ef5f35
3 changed files with 4 additions and 4 deletions

View file

@ -591,8 +591,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;

View file

@ -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)) {

View file

@ -6196,7 +6196,7 @@ pf_sctp_multihome_delayed(struct pf_pdesc *pd, int off, struct pfi_kkif *kif,
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) {