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:29 -0800
committerGitHub <noreply@github.com>2021-01-22 17:42:29 -0800
commit89b12f5a52cffd37b47ece9f1be662286e8cd2b9 (patch)
tree7e27d46444dd532fa83d89003aa418f3df3daa8a /net/https-dns-proxy/files/https-dns-proxy.init
parent6ad80336292c90d66deca4e8f4ba4b52ccb114c4 (diff)
parent5e06b8d297a0a54c60026f11156c43a52f55b7e1 (diff)
Merge pull request #14502 from stangri/18.06-https-dns-proxy
[18.06] 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'