fw-addr-lists: human readable numbers for counts

This commit is contained in:
Christian Hesse 2024-04-07 20:54:41 +02:00
parent 70cc1ff53b
commit 491d85000d

View file

@ -170,7 +170,9 @@
}
}
$LogPrint info $ScriptName ("list: " . $FwListName . " -- added: " . $CntAdd . \
" - renewed: " . $CntRenew . " - removed: " . $CntRemove);
$LogPrint info $ScriptName ("list: " . $FwListName . \
" -- added: " . [ $HumanReadableNum $CntAdd 1000 ] . \
" - renewed: " . [ $HumanReadableNum $CntRenew 1000 ] . \
" - removed: " . [ $HumanReadableNum $CntRemove 1000 ]);
}
} on-error={ }