openwrt/package
Florian Eckert ae198c6ba0 dnsmasq: fix start if dhcp-range is not correct
If the uci 'dhcp' configuration for the dhcp leases is incorrect then
the call to 'ipclac' fails. However, the problem is that the dnsmasq
configuration option 'dhcp-range' is still written for this uci section
even though the information generated by ipcalc is incorrect or not set.

Due to the incorrectly generated configuration for dnsmasq, the service
cannot start.

To prevent an incorrect configuration from being written to the configuration,
a check is now made beforehand to ensure that the required variables are
present and valid. If the configuration is incorrect, a message is emitted
to the log that this configuration section is incorrect and this uci
configuration section is omitted.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Link: https://github.com/openwrt/openwrt/pull/18641
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-05-29 23:54:18 +02:00
..
base-files package: basefiles: add oem image dectection to fwtool.sh 2025-04-30 13:15:42 +02:00
boot sunxi: add support for Beelink X2 2025-05-29 22:56:04 +02:00
devel kselftests-bpf: add support for kernel 6.12 2025-05-29 22:46:46 +02:00
firmware ipq60xx: add support for ALFA Network AP120C-AX 2025-05-27 23:43:55 +02:00
kernel package/zram: fix up Kconfig behaviour for kernel 6.12 2025-05-29 22:46:46 +02:00
libs toolchain: gcc: drop GCC11 2025-05-26 19:20:56 +02:00
network dnsmasq: fix start if dhcp-range is not correct 2025-05-29 23:54:18 +02:00
system procd: update to Git HEAD (2025-05-28) 2025-05-29 13:32:06 +02:00
utils adb: Switch to mbedtls 2025-05-24 21:32:25 +02:00
Makefile build: lock versions for special APK packages 2025-02-04 13:48:59 +00:00