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

[email protected]
Newsgroups gmane.os.freebsd.devel.pf4freebsd
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282984

--- Comment #11 from [email protected] ---
A commit in branch main references this bug:

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

commit 5b59b0c61e29f684a019afdd2848ffe2d5604e0c
Author:     Leonid Evdokimov <[email protected]>
AuthorDate: 2024-12-06 12:08:54 +0000
Commit:     Kristof Provost <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.