openwrt/package/base-files/files/lib
Leon M. Busch-George 6b23836071 package: avoid the use of eval to parse ipcalc.sh output
Add a function 'ipcalc' to /lib/functions.sh that sets variables more
safely using export.
With this new function, dnsmasq also handles the return value of ipcalc
correctly.

Fixes: e4bd3de1be ("dnsmasq: refuse to add empty DHCP range")
Co-Authored-By: Philip Prindeville <philipp@redfish-solutions.com>
Signed-off-by: Leon M. Busch-George <leon@georgemail.eu>
2023-09-25 15:02:49 +02:00
..
functions base-files: add support for retrieving IPv6 assignments 2023-02-24 23:56:36 +01:00
preinit base-files: Do not break on non-eth ports 2023-05-09 22:54:38 +02:00
upgrade base-files: sysupgrade: Add 2 sec sleep into process KILL loop 2023-09-12 14:52:50 +02:00
functions.sh package: avoid the use of eval to parse ipcalc.sh output 2023-09-25 15:02:49 +02:00