Module Name: src Committed By: christos Date: Mon Jan 27 17:17:49 UTC 2025
Modified Files: src/external/bsd/blocklist/libexec: blocklistd-helper Log Message: PR/13: jlduran: fix whitespace To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/external/bsd/blocklist/libexec/blocklistd-helper Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/bsd/blocklist/libexec/blocklistd-helper diff -u src/external/bsd/blocklist/libexec/blocklistd-helper:1.8 src/external/bsd/blocklist/libexec/blocklistd-helper:1.9 --- src/external/bsd/blocklist/libexec/blocklistd-helper:1.8 Sun Aug 18 12:22:39 2024 +++ src/external/bsd/blocklist/libexec/blocklistd-helper Mon Jan 27 12:17:49 2025 @@ -119,7 +119,7 @@ add) # the "rem" command below! # echo block in log quick $proto \ - from $addr/$mask to any $flags group $2 | \ + from $addr/$mask to any $flags group $2 | \ /sbin/ipf -A -f - >/dev/null 2>&1 && echo OK ;; @@ -169,7 +169,7 @@ rem) case "$pf" in ipf) echo block in log quick $proto \ - from $addr/$mask to any $flags group $2 | \ + from $addr/$mask to any $flags group $2 | \ /sbin/ipf -A -r -f - >/dev/null 2>&1 && echo OK ;; @@ -234,8 +234,8 @@ 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 - /sbin/pfctl -a "$anchor" -F rules + /sbin/pfctl -a "$anchor" -t "port${anchor##*/}" -T flush + /sbin/pfctl -a "$anchor" -F rules done echo OK ;;