The branch main has been updated by kp:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=8423b27345ceabc545e664b5e75952bb4bf8362e

commit 8423b27345ceabc545e664b5e75952bb4bf8362e
Author:     Kristof Provost <k...@freebsd.org>
AuthorDate: 2025-07-07 06:30:12 +0000
Commit:     Kristof Provost <k...@freebsd.org>
CommitDate: 2025-07-12 09:57:50 +0000

    pfctl: Refine error message
    
    While code in pf/pfctl confusingly uses either anchor or ruleset
    depending on the context, pfctl(8) (both manual and user interface)
    should be consistent.
    
    For users there are basically anchors only, so do not imply any
    difference between the two terminologies.
    
    OK sashan
    
    Obtained from:  OpenBSD, kn <k...@openbsd.org>, 910e8feeb5
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
---
 sbin/pfctl/pfctl_radix.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sbin/pfctl/pfctl_radix.c b/sbin/pfctl/pfctl_radix.c
index 21191259adff..5f9f121bc81c 100644
--- a/sbin/pfctl/pfctl_radix.c
+++ b/sbin/pfctl/pfctl_radix.c
@@ -469,7 +469,7 @@ pfr_strerror(int errnum)
        case ESRCH:
                return "Table does not exist";
        case ENOENT:
-               return "Anchor or Ruleset does not exist";
+               return "Anchor does not exist";
        default:
                return strerror(errnum);
        }

Reply via email to