mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-11-07 04:36:52 -10:00
Revert "blocklistd-helper: Silence another bogus pf warning"
This reverts commit67ade69eb6. A fix has been implemented ina943a96a50("libpfctl: Fix displaying deeply nested anchors"). Revert this commit to avoid having differences with upstream.
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -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 2> /dev/null
|
||||
/sbin/pfctl -a "$anchor" -F rules
|
||||
done
|
||||
echo OK
|
||||
;;
|
||||
|
||||
@@ -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 2> /dev/null
|
||||
/sbin/pfctl -a "$anchor" -F rules
|
||||
done
|
||||
echo OK
|
||||
;;
|
||||
|
||||
Reference in new issue
Block a user