base-files: ipcalc.sh clarify range parameters in comment
authorLeon M. Busch-George <leon@georgemail.eu>
Tue, 27 Jun 2023 14:01:09 +0000 (16:01 +0200)
committerLeon M. Busch-George <leon@georgemail.eu>
Mon, 25 Sep 2023 13:02:49 +0000 (15:02 +0200)
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>
package/base-files/files/bin/ipcalc.sh

index ffcdfc02d8b5f57cef2455a6e1932691c51158c2..0132e8d9bf4da4025b3a0d5f516bbb25fb010d6a 100755 (executable)
@@ -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)