Browse Source

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 years ago
parent
commit
d7978e1f39
1 changed files with 1 additions and 1 deletions
  1. 1 1
      package/base-files/files/bin/ipcalc.sh

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