The branch main has been updated by kp:

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

commit ebfcaba16943f2d122d8aa66e50aa965a7f1b86f
Author:     Kristof Provost <k...@freebsd.org>
AuthorDate: 2025-02-03 10:23:51 +0000
Commit:     Kristof Provost <k...@freebsd.org>
CommitDate: 2025-02-06 14:00:05 +0000

    pfctl: load os passive fingerprints when testing the ruleset
    
    ok henning
    
    Obtained from:  OpenBSD, mikeb <mi...@openbsd.org>, 4a9baa970f
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
---
 sbin/pfctl/pfctl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sbin/pfctl/pfctl.c b/sbin/pfctl/pfctl.c
index ec07a5da999c..11634c4d230e 100644
--- a/sbin/pfctl/pfctl.c
+++ b/sbin/pfctl/pfctl.c
@@ -3295,7 +3295,7 @@ main(int argc, char *argv[])
                if (pfctl_get_skip_ifaces())
                        error = 1;
 
-       if (rulesopt != NULL && !(opts & (PF_OPT_MERGE|PF_OPT_NOACTION)) &&
+       if (rulesopt != NULL && !(opts & PF_OPT_MERGE) &&
            !anchorname[0] && (loadopt & PFCTL_FLAG_OPTION))
                if (pfctl_file_fingerprints(dev, opts, PF_OSFP_FILE))
                        error = 1;

Reply via email to