git: 809ba93c689f - main - pfctl: rule optimizer: anchor name vs. anchor path mix up
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 25 Jun 2025 20:04:43 UTC
The branch main has been updated by kp:
URL: https://cgit.FreeBSD.org/src/commit/?id=809ba93c689ff5a1fd04a45406363e09f43c8467
commit 809ba93c689ff5a1fd04a45406363e09f43c8467
Author: Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2025-06-17 11:58:59 +0000
Commit: Kristof Provost <kp@FreeBSD.org>
CommitDate: 2025-06-25 20:04:15 +0000
pfctl: rule optimizer: anchor name vs. anchor path mix up
OK bluhm@
Obtained from: OpenBSD, sashan <sashan@openbsd.org>, a2fcc04574
Sponsored by: Rubicon Communications, LLC ("Netgate")
---
sbin/pfctl/pfctl_optimize.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sbin/pfctl/pfctl_optimize.c b/sbin/pfctl/pfctl_optimize.c
index 7817bcfd284a..530f1c241661 100644
--- a/sbin/pfctl/pfctl_optimize.c
+++ b/sbin/pfctl/pfctl_optimize.c
@@ -1337,7 +1337,7 @@ again:
if (pfctl_define_table(tbl->pt_name, PFR_TFLAG_CONST, 1,
- pf->astack[0]->name, tbl->pt_buf, pf->astack[0]->ruleset.tticket)) {
+ pf->astack[0]->path, tbl->pt_buf, pf->astack[0]->ruleset.tticket)) {
warn("failed to create table %s in %s",
tbl->pt_name, pf->astack[0]->name);
return (1);