[Bug 290478] pf(1): anchors are not listed correctly when nested anchors exist
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 24 Oct 2025 22:02:30 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290478
--- Comment #9 from Marek Zarychta <zarychtam@plan-b.pwste.edu.pl> ---
This patch fixes the issue for me:
diff --git a/lib/libpfctl/libpfctl.c b/lib/libpfctl/libpfctl.c
index 190ee46baf21..83332433fd11 100644
--- a/lib/libpfctl/libpfctl.c
+++ b/lib/libpfctl/libpfctl.c
@@ -3158,6 +3158,7 @@ pfctl_get_rulesets(struct pfctl_handle *h, const char
*path, uint32_t *nr)
}
*nr = rs.nr;
+ e.error = (e.error == ENOENT) ? 0 : e.error;
return (e.error);
}
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.