File tree Expand file tree Collapse file tree
external/bsd/blocklist/libexec Expand file tree Collapse file tree Original file line number Diff line number Diff line change 119119 # the "rem" command below!
120120 #
121121 echo block in log quick $proto \
122- from $addr /$mask to any $flags group $2 | \
122+ from $addr /$mask to any $flags group $2 | \
123123 /sbin/ipf -A -f - > /dev/null 2>&1 && echo OK
124124 ;;
125125
169169 case " $pf " in
170170 ipf)
171171 echo block in log quick $proto \
172- from $addr /$mask to any $flags group $2 | \
172+ from $addr /$mask to any $flags group $2 | \
173173 /sbin/ipf -A -r -f - > /dev/null 2>&1 && echo OK
174174 ;;
175175
@@ -234,8 +234,8 @@ flush)
234234 pf)
235235 # dynamically determine which anchors exist
236236 for anchor in $( /sbin/pfctl -a " $2 " -s Anchors 2> /dev/null) ; do
237- /sbin/pfctl -a " $anchor " -t " port${anchor##*/ } " -T flush
238- /sbin/pfctl -a " $anchor " -F rules
237+ /sbin/pfctl -a " $anchor " -t " port${anchor##*/ } " -T flush
238+ /sbin/pfctl -a " $anchor " -F rules
239239 done
240240 echo OK
241241 ;;
You can’t perform that action at this time.
0 commit comments