aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services
diff options
context:
space:
mode:
authorKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>2021-07-01 19:50:22 +0100
committerDaniel Golle <daniel@makrotopia.org>2021-08-02 21:41:52 +0100
commit8ef58941974dd05fdbbdf4f315df976fce16a0b6 (patch)
tree8535dcd5c881c945844df3227d5311d9e24e8367 /package/network/services
parentda5fd910733c909ca800040c0def817d28a22e55 (diff)
downloadupstream-8ef58941974dd05fdbbdf4f315df976fce16a0b6.tar.gz
upstream-8ef58941974dd05fdbbdf4f315df976fce16a0b6.tar.bz2
upstream-8ef58941974dd05fdbbdf4f315df976fce16a0b6.zip
dnsmasq: use local option for local domain parameter
'--local' is a synonym for '--server' so let's use '--local' in the resultant config file for uci's 'local' instead of uci's local parameter being turned into '--server'. Slightly less confusion all round. Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk> (cherry picked from commit e4cfefa9fc3d22da5705b554785ba9c533c373d0) Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'package/network/services')
-rw-r--r--package/network/services/dnsmasq/files/dnsmasq.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/services/dnsmasq/files/dnsmasq.init b/package/network/services/dnsmasq/files/dnsmasq.init
index 97b72c2bbd..d5f70a0ee5 100644
--- a/package/network/services/dnsmasq/files/dnsmasq.init
+++ b/package/network/services/dnsmasq/files/dnsmasq.init
@@ -915,7 +915,7 @@ dnsmasq_start()
append_parm "$cfg" "minport" "--min-port"
append_parm "$cfg" "maxport" "--max-port"
append_parm "$cfg" "domain" "--domain"
- append_parm "$cfg" "local" "--server"
+ append_parm "$cfg" "local" "--local"
config_list_foreach "$cfg" "listen_address" append_listenaddress
config_list_foreach "$cfg" "server" append_server
config_list_foreach "$cfg" "rev_server" append_rev_server