From nobody Thu Apr 18 14:17:26 2024 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VL0GZ6kHtz5Gxjm; Thu, 18 Apr 2024 14:17:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VL0GZ5qK4z4Vmw; Thu, 18 Apr 2024 14:17:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713449846; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=C1ilhbWtH8Klc78mrzpTZZ0I9RjyTg3yueo491AAJb4=; b=mDkQ2U6B/r2E47vXoyPQvgrN+TUXCPIpCw4801dJ/4MMqm6ppaBZOG+lSARXCJfUXrQCYH 4/wbX+gvoFvICpblSsFJQMBwdb6AmoWUEiJdsmzY/DdYNlzPTNbfOUMWh3iqYxnEI6Ulmh Me6yRCs4LDLwQR5KBOGzHweSM6SuV0E75PbXNuGhlOryNIxwoxMijocXKTrzb4ZVjxPZKW egF9L6XKn0+QJET77A0uaB2iTNdnWk1RBKX0MGRspz+SyTthIL5KBaRpbcgonCX5rmgJ7L MMTMDYKyRCl+IblbHH/vivGU/QRzqbPvKMp+uGG5wAstShh9yWmKRajoYwof5Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713449846; a=rsa-sha256; cv=none; b=Odut39k7Clw5bbO2m+UNTIANpkOWw/Rp5ynZiq833r6yYlLRP6lxO4C4FGGyexPYKaVBWb 2HV8W9SviYNoezXt9Ervd9bBHmIBxoYD+idPDeGcXw/9MrjFY/CAujBrj/bkQwdA7Eelpc raTGVtrCOidHeXrM3y3E7RdOPuXF3gMUec6/KxZ3lEe5m0/UlRS9zs2aCwDnSmXzW+OBwx hxANbPbqLfhEWvlWR6DOGzCgi4j7nlLUslMu2/x+Jc2ERfIufCMuHKvUyzj9WT6HH8dzfY Fw6r3IobP1XsxQjVpeWmhctYS+LCJI7DiKPt80736iEcnfywGbdfhujwLFV+EA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713449846; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=C1ilhbWtH8Klc78mrzpTZZ0I9RjyTg3yueo491AAJb4=; b=buqPTEF10/oakwBSkvUwLOy1mfRCEd/AoTDGtyLHJLQqh6u34TPbgaSHCG8KuQPEVs+svu BgHNqybuvO9qYez4iKINTOO698gkt12ykd1NVBxnIqOAisxfAduxW2EZm13tIbPCckPZ2e z6dhF5pXzNcRH4M4RpKWu/sbAIdB7g0hmAeb0ANe4Oii4E/H0GnCE24akhYW/BxfB0SjXD I+ShZq01nRbPv/p1xTL0cpdIELiYunEwhvOqPMQ9XEwC77/nJnSqZysXxVtO+UzAPO+yys 2Gn/VIf3kg/hyNs+6XgkoN8xTzsEQJgn2mb0qZizdbigYXicW2h8YNo9cRiPDw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VL0GZ56Sjz1CD7; Thu, 18 Apr 2024 14:17:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 43IEHQhK009952; Thu, 18 Apr 2024 14:17:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 43IEHQgJ009949; Thu, 18 Apr 2024 14:17:26 GMT (envelope-from git) Date: Thu, 18 Apr 2024 14:17:26 GMT Message-Id: <202404181417.43IEHQgJ009949@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Gordon Bergling Subject: git: 8ce3ef5f35fd - main - netpfil: Fix typos in source code comments List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: gbe X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8ce3ef5f35fd4dc442b1a33605ca7d3132047faf Auto-Submitted: auto-generated The branch main has been updated by gbe: URL: https://cgit.FreeBSD.org/src/commit/?id=8ce3ef5f35fd4dc442b1a33605ca7d3132047faf commit 8ce3ef5f35fd4dc442b1a33605ca7d3132047faf Author: Gordon Bergling AuthorDate: 2024-04-18 14:17:10 +0000 Commit: Gordon Bergling CommitDate: 2024-04-18 14:17:10 +0000 netpfil: Fix typos in source code comments - s/addres/address/ MFC after: 3 days --- 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 909cdd8870e1..aa3d1de422db 100644 --- a/sys/netpfil/ipfilter/netinet/ip_fil.h +++ b/sys/netpfil/ipfilter/netinet/ip_fil.h @@ -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; 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 4cec0936539e..cbf5ebfc0e56 100644 --- a/sys/netpfil/pf/pf.c +++ b/sys/netpfil/pf/pf.c @@ -6196,7 +6196,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) {