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:27:42 +0000
committerStan Grishin <stangri@melmac.net>2021-01-18 15:27:42 +0000
commit379d97b70cbf82694b9a1c8ed7baf9464439440b (patch)
treecdbf136fb3402787afb6152897cbcb5216032a57 /net/https-dns-proxy/files/https-dns-proxy.init
parent82f830f34f2e88f073189cbc460e586b46fdd56f (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'