openwrt/package
Eric ZHANG 2b0cce92ae
dnsmasq: fix handlers for options filter_rr and cache_rr
According to:
- https://github.com/openwrt/luci/blob/master/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js#L700
- https://github.com/openwrt/luci/blob/master/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js#L402

These two options should be of type `MultiValue` but here there're used as single value. This results in dnsmasq crashes when either of these options are set with multiple values, which leads to an invalid space-separated value.

As these options are designed to take multiple values, I think it's better to use list format eg. `list filter_rr 'AAAA'`, instead of `option filter_rr 'AAAA,HTTPS'`.

See: https://forum.openwrt.org/t/selecting-more-than-one-filter-arbitrary-rr-or-cache-arbitrary-rr-in-v24-10-0-crashes-dnsmasq/225801

Tested on 24.10.0

Signed-off-by: Eric ZHANG <ericzhangjx@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/18149
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(cherry picked from commit d136c24f7c)
2025-03-09 17:28:50 +01:00
..
base-files base-files: fix offset conversion on caldata_patch_data() 2025-02-13 00:32:30 +01:00
boot qualcommax: ipq807x: add support for Linksys MX4300 (LN1301) 2025-02-16 13:03:23 +01:00
devel gdb: Fix description for apk, remove backtick 2024-11-28 18:49:39 +00:00
firmware wireless-regdb: Update to version 2025.02.20 2025-02-25 23:30:54 +01:00
kernel kernel: r8126: update to v10.015.00 2025-02-27 11:58:27 +01:00
libs openssl: update to 3.0.16 2025-02-25 23:30:54 +01:00
network dnsmasq: fix handlers for options filter_rr and cache_rr 2025-03-09 17:28:50 +01:00
system mtd: check the return value of malloc and pread 2025-02-16 13:03:23 +01:00
utils ucode: update to Git HEAD (2025-02-10) 2025-02-10 17:05:55 +01:00
Makefile build: don't include kernel/libc in package index 2024-10-30 14:17:33 +01:00