mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 23:12:32 +00:00
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:
parent
9f52a57c99
commit
d7978e1f39
@ -61,7 +61,7 @@ BEGIN {
|
|||||||
print "PREFIX="prefix
|
print "PREFIX="prefix
|
||||||
|
|
||||||
# range calculations:
|
# range calculations:
|
||||||
# ipcalc <ip> <netmask> <start> <num>
|
# ipcalc <ip> <netmask> <range_start> <range_size>
|
||||||
|
|
||||||
if (ARGC <= 3)
|
if (ARGC <= 3)
|
||||||
exit(0)
|
exit(0)
|
||||||
|
Loading…
Reference in New Issue
Block a user