base-files: ipcalc.sh: check for params before calculating start/end
authorLeon M. George <leon@georgemail.eu>
Thu, 5 May 2022 21:19:53 +0000 (23:19 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Tue, 7 Feb 2023 20:05:52 +0000 (21:05 +0100)
commit00a20335ba2bac4cc33048464ba4bab070309db7
treeec8c6579a2553ad0e300873a78634475a515b768
parent4970dd027bced78f8a72aa2baed22c962d3b587b
base-files: ipcalc.sh: check for params before calculating start/end

With this patch, ipcalc only calculates range boundaries if the
corresponding parameters are supplied.

Signed-off-by: Leon M. George <leon@georgemail.eu>
package/base-files/files/bin/ipcalc.sh