[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 #14 from [email protected] ---
A commit in branch stable/14 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=30b9d8a73721ed762aaf02244e9429ed5fac7142

commit 30b9d8a73721ed762aaf02244e9429ed5fac7142
Author:     Leonid Evdokimov <[email protected]>
AuthorDate: 2024-12-06 12:08:54 +0000
Commit:     Kristof Provost <[email protected]>
CommitDate: 2024-12-24 10:16:53 +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

    (cherry picked from commit 5b59b0c61e29f684a019afdd2848ffe2d5604e0c)

 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.