summaryrefslogtreecommitdiff
path: root/net/https-dns-proxy/files/https-dns-proxy.init
diff options
context:
space:
mode:
authorStan Grishin <stangri@melmac.net>2021-01-18 15:28:24 +0000
committerStan Grishin <stangri@melmac.net>2021-01-18 15:28:24 +0000
commit5e06b8d297a0a54c60026f11156c43a52f55b7e1 (patch)
tree7e27d46444dd532fa83d89003aa418f3df3daa8a /net/https-dns-proxy/files/https-dns-proxy.init
parent6ad80336292c90d66deca4e8f4ba4b52ccb114c4 (diff)
https-dns-proxy: bugfix: high CPU utilization
Signed-off-by: Stan Grishin <stangri@melmac.net>
Diffstat (limited to 'net/https-dns-proxy/files/https-dns-proxy.init')
-rwxr-xr-xnet/https-dns-proxy/files/https-dns-proxy.init3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/https-dns-proxy/files/https-dns-proxy.init b/net/https-dns-proxy/files/https-dns-proxy.init
index 662fe4027..98e4403cb 100755
--- a/net/https-dns-proxy/files/https-dns-proxy.init
+++ b/net/https-dns-proxy/files/https-dns-proxy.init
@@ -20,7 +20,6 @@ dnsmasqConfig=''
version() { echo "$PKG_VERSION"; }
-
xappend() { param="$param $1"; }
append_bool() {
@@ -47,8 +46,8 @@ append_parm() {
start_instance() {
local cfg="$1" param listen_addr listen_port i
-
append_parm "$cfg" 'resolver_url' '-r'
+ append_parm "$cfg" 'polling_interval' '-i'
append_parm "$cfg" 'listen_addr' '-a' '127.0.0.1'
append_parm "$cfg" 'listen_port' '-p' "$p"
append_parm "$cfg" 'dscp_codepoint' '-c'