1
0
mirror of https://github.com/eworm-de/routeros-scripts.git synced 2024-05-11 05:55:19 +00:00

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={ }