git: 3030d29571e5 - main - pfctl: restore '.' at the end of these errors
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 12 Jul 2025 13:38:54 UTC
The branch main has been updated by kp:
URL: https://cgit.FreeBSD.org/src/commit/?id=3030d29571e54b609ce8652a45cdb39e814b4b73
commit 3030d29571e54b609ce8652a45cdb39e814b4b73
Author: Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2025-07-07 07:55:35 +0000
Commit: Kristof Provost <kp@FreeBSD.org>
CommitDate: 2025-07-12 09:57:51 +0000
pfctl: restore '.' at the end of these errors
The sys/netpfil/pf/table:reset_nonzero test expects them, and we're better off
not modifying errors without good reason.
Sponsored by: Rubicon Communications, LLC ("Netgate")
---
sbin/pfctl/pfctl.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sbin/pfctl/pfctl.c b/sbin/pfctl/pfctl.c
index dca9bba06a3e..271286deeda7 100644
--- a/sbin/pfctl/pfctl.c
+++ b/sbin/pfctl/pfctl.c
@@ -3639,10 +3639,10 @@ pf_strerror(int errnum)
{
switch (errnum) {
case ESRCH:
- return "Table does not exist";
+ return "Table does not exist.";
case EINVAL:
case ENOENT:
- return "Anchor does not exist";
+ return "Anchor does not exist.";
default:
return strerror(errnum);
}