From 263d24c5e61dea2728faa78a589ab0b58a9c1e8f Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Wed, 10 Oct 2012 13:48:36 -0700 Subject: [PATCH] Ship the AAAA plugin and automatically enable it on IPv4-only networks. --- .../DNSCrypt/extra/usr/scripts/start-dnscrypt-proxy.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/DNSCrypt-Preference-Pane/DNSCrypt/extra/usr/scripts/start-dnscrypt-proxy.sh b/DNSCrypt-Preference-Pane/DNSCrypt/extra/usr/scripts/start-dnscrypt-proxy.sh index f7e20bc..198a585 100755 --- a/DNSCrypt-Preference-Pane/DNSCrypt/extra/usr/scripts/start-dnscrypt-proxy.sh +++ b/DNSCrypt-Preference-Pane/DNSCrypt/extra/usr/scripts/start-dnscrypt-proxy.sh @@ -127,6 +127,9 @@ plugins_args='' if [ -r "${DNSCRYPT_PROXY_PLUGINS_BASE_FILE}s.enabled" ]; then plugin_args=$(get_plugin_args) fi +[ "$ipv6_supported" = "no" ] && \ + plugin_args="${plugin_args} --plugin=libdcplugin_example_ldns_aaaa_blocking.la" + best_args=$(cat "${RES_DIR}/${best_file}") eval dnscrypt-proxy $best_args --local-address="$INTERFACE_PROXY" \