From nobody Mon Feb 07 13:56:03 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 9968519B0F3C; Mon, 7 Feb 2022 13:56:06 +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 4Jsnjd17gbz51ss; Mon, 7 Feb 2022 13:56:04 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644242166; 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=QukoQPEeyhetWO5I/nd4uwsvW9CpasUGNwDeANu7BVQ=; b=a8l8XOe631WEEnoA6B/5h3mLt6psK3JItN+53GaIEjFzFVw4MhM75J9w/C1O63zEwFLmEx JhUZfSJzYVTSmx2RhaHwHnH1PNSQ9lMxCslP3IoIkyC7eXIbIiIGKT0PWsL9h+3oCxCmnD TWa2LhSk/jR0RYdspbpXtv6aLT4e+WSH7x7PGLesgV6P+VUbpLtyyvuIm4KoRTUkNqa93P 0cjDM2GB7c8hXisNsSQqalXKimaTntZXt0gU6Qyl64AmILJCDx+9QXKNkedH9P/yG7lRaz IvIJtu6TsqemxnkmCECNVFs3bUATTwBRWqGFIonNu7bz041/C7pqZAf5dZFlvQ== 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 EE0EB26C96; Mon, 7 Feb 2022 13:56:03 +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 217Du3wf085395; Mon, 7 Feb 2022 13:56:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 217Du3Jf085394; Mon, 7 Feb 2022 13:56:03 GMT (envelope-from git) Date: Mon, 7 Feb 2022 13:56:03 GMT Message-Id: <202202071356.217Du3Jf085394@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: 1197ac296324 - stable/12 - 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/12 X-Git-Reftype: branch X-Git-Commit: 1197ac296324beb1f3d3719cd31446d2999fc60a Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644242166; 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=QukoQPEeyhetWO5I/nd4uwsvW9CpasUGNwDeANu7BVQ=; b=bHcQRhC5YiPa1OLR5SBxtryLw9/Ly+/S65z6OCMAMXWQ6k9kgSvLeG8ZadSMWoCdiKbjll ks7i30q7DhlEJP8PMrgPY0BKqIQuvm+bzhWlZoVTx+QUD42fHwmOKhHfFH0ZK85Xi6lWRf 6zw4wHrYSvAOiDQIctJNBAc06KDDzkSKrUFjJA1MfM/IV0h9Sfl+eXwnds9195tqgQ2Fgh BSOjgmhzdBa0ixOJs1fqqHCF+Fa8Vr9hHC/wdDJuWFUC8RDbJ6h4MHumyfkkVsddgZyuhu YTDwwaHrYgKlNFitBD9Ju+KyjmTnlZWamJANhFAq8nkTW0rg21rmLGzg3/VXsw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644242166; a=rsa-sha256; cv=none; b=qyUcQ4H4s+NEEC//WqXPhQXoRrWDdkt13ugRKoc17bYe97Qe3JXsKsT0FgBTu9gpZQrJ4e xCmLxyrGRoKhCcgPK5ssmf0nU3Acd+3ZV1wMVkxX10vNXAEpQvmg/jBofmzFedX9j/qG0D XyL0T8tc8JS3iqJmJ6FharWSo7Ni/hYedPwQ7/yDU1CeLm3X3rzsoO5kak0Y/TEZEUYTVe XA1YBhxK26mcRmLW+OSZT0XYEjKfFiJBUvKhRywIDllsvx4GyeFoXasLu0PDDYU6Y64QmG 2VzOc5NSHN61ishenPlGfsln1yr0oXaUdtGk7uS3zvO7ryO8LTeUULI13Ml/Gw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/12 has been updated by cy: URL: https://cgit.FreeBSD.org/src/commit/?id=1197ac296324beb1f3d3719cd31446d2999fc60a commit 1197ac296324beb1f3d3719cd31446d2999fc60a Author: Cy Schubert AuthorDate: 2022-01-04 02:39:11 +0000 Commit: Cy Schubert CommitDate: 2022-02-07 13:55:13 +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 */