aboutsummaryrefslogtreecommitdiff
path: root/lib/setopt.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-05-05 17:08:22 +0200
committerDaniel Stenberg <daniel@haxx.se>2019-05-17 23:24:34 +0200
commit3cfcdf08d85488d162ce10a6ce5433dbe510264d (patch)
tree5c18e8860ea81c412850cc55fb62a3629ff5b04d /lib/setopt.c
parent1f8a584f6a1387b1d009bb2231025e5b39fb5fda (diff)
hostip: CURL_DISABLE_SHUFFLE_DNS
Diffstat (limited to 'lib/setopt.c')
-rw-r--r--lib/setopt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/setopt.c b/lib/setopt.c
index 13e1a14ae..becd6618c 100644
--- a/lib/setopt.c
+++ b/lib/setopt.c
@@ -2654,9 +2654,11 @@ static CURLcode vsetopt(struct Curl_easy *data, CURLoption option,
return CURLE_BAD_FUNCTION_ARGUMENT;
data->set.happy_eyeballs_timeout = arg;
break;
+#ifndef CURL_DISABLE_SHUFFLE_DNS
case CURLOPT_DNS_SHUFFLE_ADDRESSES:
data->set.dns_shuffle_addresses = (0 != va_arg(param, long)) ? TRUE:FALSE;
break;
+#endif
case CURLOPT_DISALLOW_USERNAME_IN_URL:
data->set.disallow_username_in_url =
(0 != va_arg(param, long)) ? TRUE : FALSE;