summaryrefslogtreecommitdiff
path: root/network/dnscrypt-proxy/rc.dnscrypt-proxy
diff options
context:
space:
mode:
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 781c78a1ba..221df34842 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