Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jul 2025 09:22:44 GMT
From:      Kristof Provost <kp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 3c24dfa30bb9 - main - pfctl.8: Explicitly mention that tables created by -T{add,replace} are persistent
Message-ID:  <202507040922.5649MitY055956@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by kp:

URL: https://cgit.FreeBSD.org/src/commit/?id=3c24dfa30bb9e2d90ab643758628b7586fa40f06

commit 3c24dfa30bb9e2d90ab643758628b7586fa40f06
Author:     Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2025-06-30 17:13:24 +0000
Commit:     Kristof Provost <kp@FreeBSD.org>
CommitDate: 2025-07-04 08:31:12 +0000

    pfctl.8: Explicitly mention that tables created by -T{add,replace} are persistent
    
    pf.conf(5)'s TABLE section explains it, but lets be clear about it in the
    table command descriptions, too.
    
    "go for it" jmc
    
    Obtained from:  OpenBSD, kn <kn@openbsd.org>, 8d4231551f
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
---
 sbin/pfctl/pfctl.8 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sbin/pfctl/pfctl.8 b/sbin/pfctl/pfctl.8
index 269987e2969f..c7fad58262dc 100644
--- a/sbin/pfctl/pfctl.8
+++ b/sbin/pfctl/pfctl.8
@@ -544,7 +544,7 @@ Kill a table.
 Flush all addresses of a table.
 .It Fl T Cm add
 Add one or more addresses in a table.
-Automatically create a nonexisting table.
+Automatically create a persistent table if it does not exist.
 .It Fl T Cm delete
 Delete one or more addresses from a table.
 .It Fl T Cm expire Ar number
@@ -556,7 +556,7 @@ For entries which have never had their statistics cleared,
 refers to the time they were added to the table.
 .It Fl T Cm replace
 Replace the addresses of the table.
-Automatically create a nonexisting table.
+Automatically create a persistent table if it does not exist.
 .It Fl T Cm show
 Show the content (addresses) of a table.
 .It Fl T Cm test



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202507040922.5649MitY055956>