From nobody Thu Sep 15 08:24:12 2022 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 4MSqx91jtJz4cTLN; Thu, 15 Sep 2022 08:24:13 +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 4MSqx91Dtzz3PRy; Thu, 15 Sep 2022 08:24:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663230253; 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=pfofbPe4COhgC/G60t3MSwZsxe3P0oVgKaaCAdlKxfY=; b=Q98sljjaT2pNIP6Nxbh5hdq78l1gvHxOqw8tV906BAFvnIadUhoHbYKOkZMVjM3KAogLOC PnFT+ZNKbCYYw+/ugB6aPIr8KHIGetcugZ+J6DVCnR4WWsxIHHzltGShZ4V86PHbTmtzb4 mAhxgUD3l/b+tI7IHtRfUs6GlvD0OwlIS3j2BZ1rVDBb5q9ShWn4EPkyI6BPJNL0g5kHth VkQ50ZH02TbU9a/WDMvvVbJjuroCbS5g8zWfCdeURDBkj/Vd1NUkxMO+GIPSJVcvEMLupG WF6RB9IV6ca+vSHU0SjqXa+J+qbu3jc2968DEWsBqDInzJg7Nz0+lPt5+NWA2w== 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 4MSqx90Jplzxtt; Thu, 15 Sep 2022 08:24:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 28F8OCdq038180; Thu, 15 Sep 2022 08:24:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 28F8OClO038179; Thu, 15 Sep 2022 08:24:12 GMT (envelope-from git) Date: Thu, 15 Sep 2022 08:24:12 GMT Message-Id: <202209150824.28F8OClO038179@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: d53555d63b18 - main - netpfil: Fix some 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: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: 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: d53555d63b18f141b752ef6e7a2762fc73a47956 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663230253; 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=pfofbPe4COhgC/G60t3MSwZsxe3P0oVgKaaCAdlKxfY=; b=RkKUetNypXJu/Bmpnm8aAuLqLg7Zhs6YVm0sdoAFWSL1eD5VQX71w2afFuHPMqX/kuZ9C6 ZS7h09Yt6atykrlM3XUZwD91rNMpnjGOzyhTfkOXog48BrdlGaauNBCVIP2lTVDi6/IVSs 3N067wUeVGht0wX5DBjaaOg04+Sl4YRFcUOstUFcc8zuQHwCj1GN1KnUFlK7tPSGgB08Hn D5PiNYqzq5laskSFtmcSwI26vmh3djS+0YpCy85gICwbNXjZxeMfiUVLtmY1nkOddQNo8h OKqVu/d2knP9Y9TsWeoMhYxCtHQQjDD4Ke19phSzqzlwFyxu3rzdNz4OHb5Qiw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1663230253; a=rsa-sha256; cv=none; b=D6rq8wOgaGKtl1RF+vHc98fa4MnZ8F0UHxc6Smwrx7lQUT5FXy4laelqcLbTzomaeZtaIH BOHOTIUpbMP9Da0uIjHkIazhMuF+5/w8MEwG7reFKV138sUVhe6ayYnWB9o5gBkgTm3Sd4 lg0IENBWC6XikejC43VObieQlpOqcfGVLuzoCrFFNGmjU8YNHa/OIKpzvjlmxc/QGp1vsi dgubufetSZGiRj93Lr19VMqhSVfH6IO4zBMUKLRnACTY0NrEVFexLCbIMhX2xJIWbfqPHH Rl3s1lTGpNQbJCNgmHiMxiyUTPi/1OizI7g9qK/fOt4kgEtILDvkwv/zputZWA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by gbe (doc committer): URL: https://cgit.FreeBSD.org/src/commit/?id=d53555d63b18f141b752ef6e7a2762fc73a47956 commit d53555d63b18f141b752ef6e7a2762fc73a47956 Author: Gordon Bergling AuthorDate: 2022-09-15 08:24:00 +0000 Commit: Gordon Bergling CommitDate: 2022-09-15 08:24:00 +0000 netpfil: Fix some typos in source code comments - s/paramter/parameter/ - s/paramters/parameters/ MFC after: 3 days --- sys/netpfil/ipfilter/netinet/fil.c | 2 +- sys/netpfil/ipfilter/netinet/ip_pool.c | 6 +++--- sys/netpfil/ipfilter/netinet/radix_ipf.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/sys/netpfil/ipfilter/netinet/fil.c b/sys/netpfil/ipfilter/netinet/fil.c index 591e5f1a33cb..5ced528d1263 100644 --- a/sys/netpfil/ipfilter/netinet/fil.c +++ b/sys/netpfil/ipfilter/netinet/fil.c @@ -7121,7 +7121,7 @@ ipf_ipftune(ipf_main_softc_t *softc, ioctlcmd_t cmd, void *data) case SIOCIPFSET : /* * Search by name or by cookie value for a particular entry - * in the tuning paramter table. + * in the tuning parameter table. */ IPFERROR(77); error = ESRCH; diff --git a/sys/netpfil/ipfilter/netinet/ip_pool.c b/sys/netpfil/ipfilter/netinet/ip_pool.c index a617e6cf19de..99394232fc2f 100644 --- a/sys/netpfil/ipfilter/netinet/ip_pool.c +++ b/sys/netpfil/ipfilter/netinet/ip_pool.c @@ -886,7 +886,7 @@ ipf_pool_insert_node(ipf_main_softc_t *softc, ipf_pool_softc_t *softp, /* op(I) - pointer to iplookup struct with call details */ /* Locks: WRITE(ipf_poolrw) */ /* */ -/* Creates a new group according to the paramters passed in via the */ +/* Creates a new group according to the parameters passed in via the */ /* iplookupop structure. Does not check to see if the group already exists */ /* when being inserted - assume this has already been done. If the pool is */ /* marked as being anonymous, give it a new, unique, identifier. Call any */ @@ -1018,11 +1018,11 @@ ipf_pool_remove_node(ipf_main_softc_t *softc, ipf_pool_softc_t *softp, /* Returns: int - 0 = success, else error */ /* Parameters: softc(I) - pointer to soft context main structure */ /* softp(I) - pointer to soft context pool information */ -/* unit(I) - ipfilter device to which we are working on */ +/* unit(I) - ipfilter device to which we are working on */ /* name(I) - name of the pool */ /* Locks: WRITE(ipf_poolrw) or WRITE(ipf_global) */ /* */ -/* Search for a pool using paramters passed in and if it's not otherwise */ +/* Search for a pool using parameters passed in and if it's not otherwise */ /* busy, free it. If it is busy, clear all of its nodes, mark it for being */ /* deleted and return an error saying it is busy. */ /* */ diff --git a/sys/netpfil/ipfilter/netinet/radix_ipf.c b/sys/netpfil/ipfilter/netinet/radix_ipf.c index 95daee99ec42..031452da9f45 100644 --- a/sys/netpfil/ipfilter/netinet/radix_ipf.c +++ b/sys/netpfil/ipfilter/netinet/radix_ipf.c @@ -91,7 +91,7 @@ count_mask_bits(addrfamily_t *mask, u_32_t **lastp) /* associated with addr and mask. */ /* */ /* Initialise the fields in a pair of radix tree nodes according to the */ -/* data supplied in the paramters "addr" and "mask". It is expected that */ +/* data supplied in the parameters "addr" and "mask". It is expected that */ /* "mask" will contain a consecutive string of bits set. Masks with gaps in */ /* the middle are not handled by this implementation. */ /* ------------------------------------------------------------------------ */