diff options
Diffstat (limited to 'etc/periodic/security/550.ipfwlimit')
-rwxr-xr-x | etc/periodic/security/550.ipfwlimit | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/periodic/security/550.ipfwlimit b/etc/periodic/security/550.ipfwlimit index 65e8bd2..912d009 100755 --- a/etc/periodic/security/550.ipfwlimit +++ b/etc/periodic/security/550.ipfwlimit @@ -45,7 +45,7 @@ case "$daily_status_security_ipfwlimit_enable" in TMP=`mktemp -t security` IPFW_LOG_LIMIT=`sysctl -n net.inet.ip.fw.verbose_limit 2> /dev/null` if [ $? -eq 0 ] && [ "${IPFW_LOG_LIMIT}" -ne 0 ]; then - ipfw -a l | grep " log " | \ + ipfw -a list | grep " log " | \ grep '^[[:digit:]]\+[[:space:]]\+[[:digit:]]\+' | \ awk -v limit="$IPFW_LOG_LIMIT" \ '{if ($2 > limit) {print $0}}' > ${TMP} |