From nobody Tue Apr 15 12:46:37 2025 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 4ZcP6k2QjSz5t62m; Tue, 15 Apr 2025 12:46:38 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZcP6j695gz3WFq; Tue, 15 Apr 2025 12:46:37 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1744721197; 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=BnAzoGX25aDJyD3MJ8qJpCw3EQofBYiekDmxhz0KpWU=; b=BFL5Fz5YLn4544qdyOZzVib822vMtcR4trXVmFlY0zdwVGdADggjzMVV7XuPotXdMroYpx BPlC6bW4KdMY5da7voEb2+BLZU09WQ5p8tArTnnRcQ6C1dJGlTyJtGUJVdWMFGe5XFjDF4 zjEQDh/LVARtwQ32VpbO+SarC71ZBuDtVu53O5n8PSHLaddi++NBgdddlXtzB792gkMwH/ 7tjemwWtQht8VX+n12/avmVDXUIx7naOmKZW7ljsbDCX7drzmlphjBKKlEn6l+c/DlyUTg +ceMsJHazc7lt4Rwy4ARnC5x/FaFkjlqF3kjuGeQDn0b15WBwUXKadZCReyfqQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1744721197; a=rsa-sha256; cv=none; b=lSs+TzHaP3oBX9szAW+cEi+yY5f/cAzl/+xypYF0R7qxqbfVJDJWiCYSZsxJbEckYBjbzJ F1X3ccVlQHkOoNqScXohtoKLQCnbOccnI3QD2PbCpZZAp8PYRnZ3q43C+gtO1Y5vlljiGK 1tGQ+BoeHDrJ4IqvhcoPi9o8/JVKmG6hSDjFwcHmNUpdCQhZ5zv8JCbJcN47gS3f0AmKDd /TM4XNmwWpMauzJpCig42mdwIADtTUHz84NNac3O86cz3C7QzO+4sU8gm/CSXp49qHeLKl D61HtlyT1LoKrvax779cEzPgIRkBXSD2skRzXPybuy8V3LT+r67OANY+lHk4fQ== 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=1744721197; 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=BnAzoGX25aDJyD3MJ8qJpCw3EQofBYiekDmxhz0KpWU=; b=A7+cQ3RiWjLXH2g+kErgMMsmtn5MXE4ok+r+HH1UpLHxK+ZKjeXbtV8Y4y3LoWtj9DuKvC hlowrZe8XDV21REmgIV5e069J7s1A7npjH7GFei//fyTCoILkuJyLa6w43Oi/WiMcDaCjw m40t+Hnd9fSGWlGN+P8Ihh/sWmVM6mCstRwELmf9z43krqFZBfaXEUmkmUbLN9I9Rk0LEs hGXQWqAswe9vQXvfPtlKr365OqzUY3cQnbE3RoxJyzygS6ECPEAQy/EbLYTdTJyCCmW+Wm wTGxzAXZqh7QIYXGjt1ZBC+X7KO1YKg55tv72apSIc4sjCsYQXDRuFksPEx8bw== 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 4ZcP6j55fkzbHF; Tue, 15 Apr 2025 12:46:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 53FCkbRK078382; Tue, 15 Apr 2025 12:46:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 53FCkbFu078379; Tue, 15 Apr 2025 12:46:37 GMT (envelope-from git) Date: Tue, 15 Apr 2025 12:46:37 GMT Message-Id: <202504151246.53FCkbFu078379@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Kristof Provost Subject: git: 0fc3c29fb3dd - main - pfctl: also remove incorrect counter print for rule anchors 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: kp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0fc3c29fb3dd6ab6436a78c502544ebf2cf63ee2 Auto-Submitted: auto-generated The branch main has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=0fc3c29fb3dd6ab6436a78c502544ebf2cf63ee2 commit 0fc3c29fb3dd6ab6436a78c502544ebf2cf63ee2 Author: Kristof Provost AuthorDate: 2025-04-15 11:13:50 +0000 Commit: Kristof Provost CommitDate: 2025-04-15 11:13:50 +0000 pfctl: also remove incorrect counter print for rule anchors Just as for nat anchors we can't print counters for rule anchors. Remove the incorrect print call. MFC after: 2 weeks Sponsored by: Rubicon Communications, LLC ("Netgate") --- sbin/pfctl/pfctl.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sbin/pfctl/pfctl.c b/sbin/pfctl/pfctl.c index b4318159b4ec..a9fc33525dd6 100644 --- a/sbin/pfctl/pfctl.c +++ b/sbin/pfctl/pfctl.c @@ -1269,7 +1269,6 @@ pfctl_show_rules(int dev, char *path, int opts, enum pfctl_show format, errc(1, ret, "DIOCGETRULESETS"); } - pfctl_print_rule_counters(&rule, opts); for (nr = 0; nr < mnr; ++nr) { if ((ret = pfctl_get_ruleset(pfh, npath, nr, &prs)) != 0) errc(1, ret, "DIOCGETRULESET");