git: a33ead9c9cf3 - main - pfdenied: match actual variable name to the documented one
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 13 Mar 2022 00:00:39 UTC
The branch main has been updated by kp:
URL: https://cgit.FreeBSD.org/src/commit/?id=a33ead9c9cf3f92a3b11b76b4717d8eb4f3a0403
commit a33ead9c9cf3f92a3b11b76b4717d8eb4f3a0403
Author: Matteo Riondato <matteo@FreeBSD.org>
AuthorDate: 2022-03-12 22:59:25 +0000
Commit: Kristof Provost <kp@FreeBSD.org>
CommitDate: 2022-03-12 22:59:25 +0000
pfdenied: match actual variable name to the documented one
PR: 262446
Reviewed by: kp
---
usr.sbin/periodic/etc/security/520.pfdenied | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/usr.sbin/periodic/etc/security/520.pfdenied b/usr.sbin/periodic/etc/security/520.pfdenied
index b75f6224c328..31e80cf3acab 100755
--- a/usr.sbin/periodic/etc/security/520.pfdenied
+++ b/usr.sbin/periodic/etc/security/520.pfdenied
@@ -44,7 +44,7 @@ rc=0
if check_yesno_period security_status_pfdenied_enable
then
TMP=`mktemp -t security`
- for _a in "" $(pfctl -a "blacklistd" -sA 2>/dev/null) ${security_status_pfdenied_anchors}
+ for _a in "" $(pfctl -a "blacklistd" -sA 2>/dev/null) ${security_status_pfdenied_additionalanchors}
do
pfctl -a "${_a}" -sr -v -z 2>/dev/null | \
nawk '{if (/^block/) {buf=$0; getline; gsub(" +"," ",$0); if ($5 > 0) print buf$0;} }' >> ${TMP}