Ship the AAAA plugin and automatically enable it on IPv4-only networks.

This commit is contained in:
Frank Denis
2012-10-10 13:48:36 -07:00
parent a664db7d22
commit 263d24c5e6
@@ -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" \