[Bug 282984] [PATCH] pfctl: add -T `makezero` to touch pfras_tzero _only_ for non-zero entries

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 09 Dec 2024 09:40:16 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282984

--- Comment #11 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=5b59b0c61e29f684a019afdd2848ffe2d5604e0c

commit 5b59b0c61e29f684a019afdd2848ffe2d5604e0c
Author:     Leonid Evdokimov <leon+freebsd@darkk.net.ru>
AuthorDate: 2024-12-06 12:08:54 +0000
Commit:     Kristof Provost <kp@FreeBSD.org>
CommitDate: 2024-12-09 09:36:34 +0000

    pfctl: add -T `reset` to touch pfras_tzero only for non-zero entries

    This will make it easier for scripts to detect idle hosts in tables.

    PR:             282984
    Reviewed by:    kp
    MFC after:      2 weeks

 sbin/pfctl/pfctl.8            |  7 +++-
 sbin/pfctl/pfctl.c            |  2 +-
 sbin/pfctl/pfctl_radix.c      |  2 +-
 sbin/pfctl/pfctl_table.c      | 44 ++++++++++++++++++++++++
 tests/sys/netpfil/pf/table.sh | 80 +++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 132 insertions(+), 3 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.