From nobody Mon Feb 07 13:52:04 2022 X-Original-To: dev-commits-src-branches@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 3C38E19AAC7C; Mon, 7 Feb 2022 13:52:09 +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 4Jsnd274S8z4y0S; Mon, 7 Feb 2022 13:52:06 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644241928; 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=QdlCSs8ZBgkJnn1Ld0whNVyvDyD11wp9fV+q6/hKOIY=; b=oHBl7kJCU7x0LVa4TWPthDkunHbd3HXKYtaGIr8NGhRRb2vRZaOVzYzTilTCso+Nf+3nhu qzVs8GGys7fpi3cpx2OfpbUQwb6n4/zBZVjjgE7ZWuKRiUL4X2ddm3UWV1Y88YuA9B5ZPf ETVQpmCjnxRh6/SMnhb6fUPKb1PnTVJ3QsPLGqLX7hy7n3selSU9ceazK+ZrPGWYHxFrO0 6T0Du5eC1RhrcN8istXC9dTSHTFA9xZTIzzZDPks9WAh8DBHzCGxy2A/q8kvS0HTFdWB/S KXs8Gef7YMv4fVjbs8+eVywyVCAHtSEhOzdEKSK1uFyc8FuUmmMz81yaGZjLqA== 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 D399726AA6; Mon, 7 Feb 2022 13:52:04 +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 217Dq4sQ079658; Mon, 7 Feb 2022 13:52:04 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 217Dq4C1079657; Mon, 7 Feb 2022 13:52:04 GMT (envelope-from git) Date: Mon, 7 Feb 2022 13:52:04 GMT Message-Id: <202202071352.217Dq4C1079657@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Cy Schubert Subject: git: d47287c4374d - stable/13 - ipfilter: Fix typos List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: cy X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: d47287c4374dddf530b6d1b59c7d08cb1c49fc52 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644241928; 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=QdlCSs8ZBgkJnn1Ld0whNVyvDyD11wp9fV+q6/hKOIY=; b=ThHleU7UR5dHrr4dJkbLcGRUPptPdVPzuWfcc0+G8o6Pa+gNkzaw7XvOvVl2rDzUEbmlJA tDnwob10RnZRvY9PcE2qn4JbN/sPCIvlNT9D5ExPXtM4jfb8p0/9b59cuL+u1sPFpnffuB IxJHHGrkALgCNuIdD/nomD82HyErHKCXXJoFurBqFibaGrp2qvswkhWyB8lFkIXOLUIW+1 1QE8g27IwQ0Syh9toZrHmsbG3Tjl4oT0BHCV32C+7A0JwY/UxRaGpBg9EhzMaNpUT3oHEL GRUDJpATquLwXelOEI6DpIKNEwHtQp7Wz2Pmimnu0kNKasKarou6waelRInsSg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644241928; a=rsa-sha256; cv=none; b=ae/u/NCLbdE2F6nbI8+/YZG3xb9ggM8uSKIMdz2/yNXahYvy7sLfg3SyXttx1GrfK9VkF8 cH8rKUa7Dt4MgNkWDCbsuhRQiFJPDr6HXSzLPCfXTLaITXX9UHolRY54c3IFRfUeu+R5br cw04z3Hwm9EYHGki0rQno7iYcO+g/avm9527iI3nQVSBHyxupM/tWtUEo1J0kgD5abNrsL IdJE7xmw+yQJizpF8EoAxI41H5jtpCe7LIwVtw5hFKzEBZ7N1HDCPtGb8fDkoZ+cdQgRSV iqIGBdK5vMqGF/Ncl8FShomIMy9k6MAJy2hLUkjXF4YE8ZPTmoChmu+cLev6AA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by cy: URL: https://cgit.FreeBSD.org/src/commit/?id=d47287c4374dddf530b6d1b59c7d08cb1c49fc52 commit d47287c4374dddf530b6d1b59c7d08cb1c49fc52 Author: Cy Schubert AuthorDate: 2022-01-04 02:39:11 +0000 Commit: Cy Schubert CommitDate: 2022-02-07 13:51:16 +0000 ipfilter: Fix typos Reported by: jrtc27 Fixes: 2582ae5740181e0d2bab10003d66ae91c9b56329 (cherry picked from commit d86f022e79862e9d91be80a806a4b011359d6cc8) --- sbin/ipf/ipf/ipf.4 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sbin/ipf/ipf/ipf.4 b/sbin/ipf/ipf/ipf.4 index 559e48a3c6a5..e380b65762c1 100644 --- a/sbin/ipf/ipf/ipf.4 +++ b/sbin/ipf/ipf/ipf.4 @@ -91,7 +91,7 @@ typedef struct frentry { u_short fr_skip; /* # of rules to skip */ u_short fr_loglevel; /* syslog log facility + priority */ int (*fr_func)(int, ip_t *, fr_info_t *)); -( char fr_icode; /* return ICMP code */); + char fr_icode; /* return ICMP code */; char fr_ifname[IFNAMSIZ]; #ifdef BSD char fr_oifname[IFNAMSIZ]; @@ -118,8 +118,8 @@ Flags which are recognised in fr_flags: FR_LOGP 0x000012 /* Log-pass */ FR_LOGBODY 0x000020 /* log the body of packets too */ FR_LOGFIRST 0x000040 /* log only the first packet to match */ -( FR_RETRST 0x000080 /* return a TCP RST packet if blocked */); -( FR_RETICMP 0x000100 /* return an ICMP packet if blocked */); + FR_RETRST 0x000080 /* return a TCP RST packet if blocked */; + FR_RETICMP 0x000100 /* return an ICMP packet if blocked */; FR_FAKEICMP 0x00180 /* Return ICMP unreachable with fake source */ FR_NOMATCH 0x000200 /* no match occured */ FR_ACCOUNT 0x000400 /* count packet bytes */ @@ -210,7 +210,7 @@ struct filterstats { u_long fr_npkl; /* packets unmatched and logged */ u_long fr_pkl; /* packets logged */ u_long fr_skip; /* packets to be logged but buffer full */ -( u_long fr_ret; /* packets for which a return is sent */); + u_long fr_ret; /* packets for which a return is sent */; u_long fr_acct; /* packets for which counting was performed */ u_long fr_bnfr; /* bad attempts to allocate fragment state */ u_long fr_nfr; /* new fragment state kept */