summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorJose Luis Duran <jlduran@FreeBSD.org>2025-10-25 23:14:48 +0000
committerJose Luis Duran <jlduran@FreeBSD.org>2025-10-25 23:21:07 +0000
commit67ade69eb6079887215db1fde86eba2fb8e2acf7 (patch)
treebb5f2d77584e265907a2f0b984ed8d56a64cc50e /libexec
parent46f982122c0d670ac181b748a5b8c2b221f61517 (diff)
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
Diffstat (limited to 'libexec')
-rw-r--r--libexec/blocklistd-helper/blacklistd-helper2
1 files changed, 1 insertions, 1 deletions
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
;;