base-files: ipcalc.sh: Rewrite in pure shell
authorPhilip Prindeville <philipp@redfish-solutions.com>
Sun, 22 Oct 2023 19:27:50 +0000 (13:27 -0600)
committerPhilip Prindeville <philipp@redfish-solutions.com>
Tue, 12 Dec 2023 19:30:35 +0000 (12:30 -0700)
commit854739b32c7f2e56e5b79ee049749e60faece8f5
tree920d7db684def8cde7a6ebae1136bc4a303ca09a
parent1438bc583c671120ddd38f4eb2dc786ec53e207c
base-files: ipcalc.sh: Rewrite in pure shell

Also add better error checking on input.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
package/base-files/files/bin/ipcalc.sh
package/base-files/files/lib/functions/ipv4.sh [new file with mode: 0644]