Revert "blocklist-helper: Silence a bogus pf warning"

This reverts commit 2347ca21d6.

A fix has been implemented in 99560fe98c ("pfctl: Do not warn if there
is no Ethernet anchor").

Revert this commit to avoid having differences with upstream.

MFC after:	2 days
This commit is contained in:
Jose Luis Duran 2025-10-28 11:44:50 +00:00
parent 6f0942bde7
commit e12ec5f433
No known key found for this signature in database
GPG key ID: 5415E244477475CC
2 changed files with 2 additions and 2 deletions

View file

@ -258,7 +258,7 @@ flush)
pf)
# 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" -t "port${anchor##*/}" -T flush
/sbin/pfctl -a "$anchor" -F rules
done
echo OK

View file

@ -279,7 +279,7 @@ flush)
pf)
# 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" -t "port${anchor##*/}" -T flush
/sbin/pfctl -a "$anchor" -F rules
done
echo OK