The branch main has been updated by jlduran:

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

commit 67ade69eb6079887215db1fde86eba2fb8e2acf7
Author:     Jose Luis Duran <[email protected]>
AuthorDate: 2025-10-25 23:14:48 +0000
Commit:     Jose Luis Duran <[email protected]>
CommitDate: 2025-10-25 23:21:07 +0000

    blocklistd-helper: Silence another bogus pf warning
    
    It has been reported as PR 290478.  In the meantime, just sweep under
    the carpet.
    
    It is worth noting that neither commit:
    2347ca21d657 ("blocklist-helper: Silence a bogus pf warning")
    nor this one will be upstreamed, as this is a FreeBSD-specific issue.
    
    PR:             290478
    MFC after:      2 days
---
 contrib/blocklist/libexec/blocklistd-helper | 2 +-
 libexec/blocklistd-helper/blacklistd-helper | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/contrib/blocklist/libexec/blocklistd-helper 
b/contrib/blocklist/libexec/blocklistd-helper
index 14a192ee35ce..1d4a38b1d831 100755
--- a/contrib/blocklist/libexec/blocklistd-helper
+++ b/contrib/blocklist/libexec/blocklistd-helper
@@ -259,7 +259,7 @@ flush)
                # dynamically determine which anchors exist
                for anchor in $(/sbin/pfctl -a "$2" -s Anchors 2> /dev/null); do
                        /sbin/pfctl -a "$anchor" -t "port${anchor##*/}" -T 
flush 2> /dev/null
-                       /sbin/pfctl -a "$anchor" -F rules
+                       /sbin/pfctl -a "$anchor" -F rules 2> /dev/null
                done
                echo OK
                ;;
diff --git a/libexec/blocklistd-helper/blacklistd-helper 
b/libexec/blocklistd-helper/blacklistd-helper
index 92f768e86cdf..053c9ce9b2a2 100644
--- a/libexec/blocklistd-helper/blacklistd-helper
+++ b/libexec/blocklistd-helper/blacklistd-helper
@@ -280,7 +280,7 @@ flush)
                # dynamically determine which anchors exist
                for anchor in $(/sbin/pfctl -a "$2" -s Anchors 2> /dev/null); do
                        /sbin/pfctl -a "$anchor" -t "port${anchor##*/}" -T 
flush 2> /dev/null
-                       /sbin/pfctl -a "$anchor" -F rules
+                       /sbin/pfctl -a "$anchor" -F rules 2> /dev/null
                done
                echo OK
                ;;

Reply via email to