summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeon M. Busch-George2023-06-27 14:01:09 +0000
committerLeon M. Busch-George2023-09-25 13:02:49 +0000
commitd7978e1f39aa91c4c99cab4f13372050afad2438 (patch)
treeaf5d6ee85ada30676ce1bc8aa7b745b46445f0d0
parent9f52a57c99594d70313959d3fc2d36f1529507fe (diff)
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>
-rwxr-xr-xpackage/base-files/files/bin/ipcalc.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/bin/ipcalc.sh b/package/base-files/files/bin/ipcalc.sh
index ffcdfc02d8..0132e8d9bf 100755
--- a/package/base-files/files/bin/ipcalc.sh
+++ b/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)