aboutsummaryrefslogtreecommitdiff
path: root/network/dnscrypt-proxy/rc.dnscrypt-proxy
diff options
context:
space:
mode:
authorT3slider <t3slider@gmail.com>2015-07-22 08:34:14 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-07-22 08:34:14 +0700
commita0d2b79632c5c9515761afc4287a2360d466786f (patch)
treebaf01aa7653f22a5d50217f35510705a3ef6b3b0 /network/dnscrypt-proxy/rc.dnscrypt-proxy
parent21e671657019bc5e06ae9c35d62f98330b849f2d (diff)
network/dnscrypt-proxy: Updated for version 1.6.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/dnscrypt-proxy/rc.dnscrypt-proxy')
-rw-r--r--network/dnscrypt-proxy/rc.dnscrypt-proxy3
1 files changed, 3 insertions, 0 deletions
diff --git a/network/dnscrypt-proxy/rc.dnscrypt-proxy b/network/dnscrypt-proxy/rc.dnscrypt-proxy
index 781c78a1ba8a8..221df34842031 100644
--- a/network/dnscrypt-proxy/rc.dnscrypt-proxy
+++ b/network/dnscrypt-proxy/rc.dnscrypt-proxy
@@ -62,6 +62,9 @@ start_instance() {
if [ "${EPHEMERALKEYS[$1]}" == "yes" ]; then
OPTIONS="${OPTIONS} --ephemeral-keys"
fi
+ if [ -n "${CLIENTKEY[$1]}" ]; then
+ OPTIONS="${OPTIONS} --client-key=${CLIENTKEY[$1]}"
+ fi
if [ -n "${EDNSPAYLOADSIZE[$1]}" ]; then
OPTIONS="${OPTIONS} --edns-payload-size=${EDNSPAYLOADSIZE[$1]}"
fi