Skip to content

Commit

Permalink
dnsmasq: Add EDNS0 Upstream support
Browse files Browse the repository at this point in the history
Use '1' as default value for add_mac, drop 'enabled'
Signed-off-by: Carsten Schuette <[email protected]>
  • Loading branch information
schuettecarsten committed Jul 17, 2024
1 parent 127ed32 commit f060d59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/network/services/dnsmasq/files/dnsmasq.init
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit f060d59

Please sign in to comment.