summaryrefslogtreecommitdiff
path: root/net/https-dns-proxy/files/https-dns-proxy.init
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2021-01-22 17:42:11 -0800
committerGitHub <noreply@github.com>2021-01-22 17:42:11 -0800
commit8079f4845f643108e71245f260d4efb200ac0809 (patch)
tree767dc82dd1a09cb26c4a82c52d601bd3ac03e8a9 /net/https-dns-proxy/files/https-dns-proxy.init
parent747efcbcd14825fa70af76253c5c301de45e578f (diff)
parent379d97b70cbf82694b9a1c8ed7baf9464439440b (diff)
Merge pull request #14500 from stangri/master-https-dns-proxy
https-dns-proxy: bugfix: high CPU utilization
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'