mirror of
https://git.freebsd.org/src.git
synced 2026-01-11 19:57:22 +00:00
Revert "blocklist-helper: Silence a bogus pf warning"
This reverts commit2347ca21d6. A fix has been implemented in99560fe98c("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:
parent
6f0942bde7
commit
e12ec5f433
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue