2
0
Эх сурвалжийг харах

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 <[email protected]>
Leon M. Busch-George 2 жил өмнө
parent
commit
d7978e1f39

+ 1 - 1
package/base-files/files/bin/ipcalc.sh

@@ -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)