base-files: ipcalc.sh: Add some commentary, etc.
authorPhilip Prindeville <philipp@redfish-solutions.com>
Tue, 24 Oct 2023 06:16:25 +0000 (00:16 -0600)
committerPhilip Prindeville <philipp@redfish-solutions.com>
Tue, 12 Dec 2023 19:30:35 +0000 (12:30 -0700)
commitf0612c0d844505e214f0569285d4cafe4016a1ec
tree6ddc55aecdca11d95c430b145019a9cd0f0e88ba
parent5ee3a78242204850f8b5ed8c5b772a0d2378bebb
base-files: ipcalc.sh: Add some commentary, etc.

Explain some of the more obscure logic, or where we deviate from
what the original awk code did.  Also, give a count of the usable
addresses on the subnet.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
package/base-files/files/bin/ipcalc.sh
package/base-files/files/lib/functions/ipv4.sh