From f060d5993cfcef8cc6a23d1d2d85a87ab1e8ed62 Mon Sep 17 00:00:00 2001 From: Carsten Schuette Date: Wed, 17 Jul 2024 22:51:59 +0200 Subject: [PATCH] dnsmasq: Add EDNS0 Upstream support Use '1' as default value for add_mac, drop 'enabled' Signed-off-by: Carsten Schuette --- package/network/services/dnsmasq/files/dnsmasq.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/network/services/dnsmasq/files/dnsmasq.init b/package/network/services/dnsmasq/files/dnsmasq.init index 3e8b23ff65fe27..f5c7fbc6696215 100755 --- a/package/network/services/dnsmasq/files/dnsmasq.init +++ b/package/network/services/dnsmasq/files/dnsmasq.init @@ -974,7 +974,7 @@ dnsmasq_start() append_bool "$cfg" scriptarp "--script-arp" config_get add_mac "$cfg" add_mac - if [ "$add_mac" = "enabled" ] || [ "$add_mac" = "1" ]; then + if [ "$add_mac" = "1" ]; then xappend "--add-mac" elif [ -n "$add_mac" ]; then xappend "--add-mac=$add_mac"