From nobody Tue Jan 04 03:44:11 2022 X-Original-To: dev-commits-src-all@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 09361193B175; Tue, 4 Jan 2022 03:44:12 +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 4JSdlH5Kzdz3qqV; Tue, 4 Jan 2022 03:44:11 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 9708411DD1; Tue, 4 Jan 2022 03:44:11 +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 2043iBue076474; Tue, 4 Jan 2022 03:44:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2043iBUR076473; Tue, 4 Jan 2022 03:44:11 GMT (envelope-from git) Date: Tue, 4 Jan 2022 03:44:11 GMT Message-Id: <202201040344.2043iBUR076473@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Cy Schubert Subject: git: d86f022e7986 - main - ipfilter: Fix typos List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@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/main X-Git-Reftype: branch X-Git-Commit: d86f022e79862e9d91be80a806a4b011359d6cc8 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641267851; 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=XgZUEbtnTdkiyS3EL8+Fwd6Hg2sNlotcKiF7XDIn3X4=; b=XkBa8wP+FhBm8skdUJ8D3/ooyq9IeUZwsCZ4GBZ0m0kE7PM8trm5+oQFeh7kxsiXZQaIDl D4oZwJ1dX3Una6y8fmzTlEpzQYypzBLk80p68nbP04Tb/B6HRDZddSjV010koCjhGDfKhi sFCMwiwhMGe21RWkYSd8+WMKk32LBd24bxa9fnUM27icMyulYicmqaNA4XE2f75VPWRrAh QMi+q6ufjKgmOi+CFoEjtV5wmBkwrUSOIhNfnDAzCMp8bgyiNKO/PLYepwMoScQMLVqZ8o 5+kZS4Poo/dd6vFinF9E7ltqPTGYCYmpftF5+vvZPgfvclLjCEvvzgh97DmqAw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641267851; a=rsa-sha256; cv=none; b=JbjIrPHQFVG3aJ6IGWxqDQPmACJ2BL6kKbrP1PS4cZk8ney8rPDsu71pCVCfjz5zeIp2LP kw9Jk4IdHd+BRx5DSH1kVCOZyUohqYslr2K9qrJWdG0HP2h11288U26V+V2mWozpy3lN5H 9kS9kxFJBbh1NTcvsRX4hliINhUNxeQaXpqLt3wGkw9Lv5jD8E/7X2ED93988ZQFcBXlxl MQI4O0jsTIyfos02cO7QIi9hyqSLIHozxH5bdYdoIL2yyEMAJHEErpZdj7DauavtmtJkzH xg6ysEyGmVdIl1/YFYSMd5raR0lgikYk21i29oR76L5BZNaZrgMUVGgUVkh8eQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by cy: URL: https://cgit.FreeBSD.org/src/commit/?id=d86f022e79862e9d91be80a806a4b011359d6cc8 commit d86f022e79862e9d91be80a806a4b011359d6cc8 Author: Cy Schubert AuthorDate: 2022-01-04 02:39:11 +0000 Commit: Cy Schubert CommitDate: 2022-01-04 02:45:10 +0000 ipfilter: Fix typos Reported by: jrtc27 Fixes: 2582ae5740181e0d2bab10003d66ae91c9b56329 MFC after: 1 month --- 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 */