base-files: ipcalc.sh: Add support for decimal output
authorPhilip Prindeville <philipp@redfish-solutions.com>
Sun, 22 Oct 2023 19:32:06 +0000 (13:32 -0600)
committerPhilip Prindeville <philipp@redfish-solutions.com>
Tue, 12 Dec 2023 19:30:35 +0000 (12:30 -0700)
commit5ee3a78242204850f8b5ed8c5b772a0d2378bebb
tree45e35413f1eac33e6ebac52cd6e3d42a450e9667
parent854739b32c7f2e56e5b79ee049749e60faece8f5
base-files: ipcalc.sh: Add support for decimal output

This is useful if you later need to perform numeric range-checking
on addresses, i.e. to see if an address falls inside a CIDR range,
etc. and what interface it corresponds to.

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