base-files: ipcalc.sh clarify range parameters in comment

To avoid confusion when working with ipcalc.sh, clarify that the last two
parameters belong to the range calculation and rename 'num' to the slightly
less ambiguous 'size'.

Signed-off-by: Leon M. Busch-George <leon@georgemail.eu>
This commit is contained in:
Leon M. Busch-George 2023-06-27 16:01:09 +02:00
parent 9f52a57c99
commit d7978e1f39

View File

@ -61,7 +61,7 @@ BEGIN {
print "PREFIX="prefix
# range calculations:
# ipcalc <ip> <netmask> <start> <num>
# ipcalc <ip> <netmask> <range_start> <range_size>
if (ARGC <= 3)
exit(0)