base-files: ipcalc.sh handle start and range being empty strings
authorPhilip Prindeville <philipp@redfish-solutions.com>
Sun, 14 Jul 2024 20:07:53 +0000 (14:07 -0600)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 21 Jul 2024 15:31:59 +0000 (17:31 +0200)
commit0037100e129d3b2abedc08864c82230ab4565b21
tree869a80da598f5aafaa34ac54a376f8104dcec884
parentf84a9f7dc095967e41ced96e1ea5f9b2b9f40af6
base-files: ipcalc.sh handle start and range being empty strings

If we're being paranoid and quote all the arguments to ipcalc.sh,
it's possible to pass in empty start and range arguments.  This
should be handled the same as their being absent.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
Link: https://github.com/openwrt/openwrt/pull/15946
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/base-files/files/bin/ipcalc.sh