diff --git a/reference/curl/functions/curl-setopt.xml b/reference/curl/functions/curl-setopt.xml
index 3ad3601e6b..1f4e72f182 100644
--- a/reference/curl/functions/curl-setopt.xml
+++ b/reference/curl/functions/curl-setopt.xml
@@ -793,10 +793,10 @@
Allows an application to select what kind of IP addresses to use when
resolving host names. This is only interesting when using host names that
resolve addresses using more than one version of IP, possible values are
- CURLOPT_IPRESOLVE_WHATEVER,
- CURLOPT_IPRESOLVE_V4,
- CURLOPT_IPRESOLVE_V6, by default
- CURLOPT_IPRESOLVE_WHATEVER.
+ CURL_IPRESOLVE_WHATEVER,
+ CURL_IPRESOLVE_V4,
+ CURL_IPRESOLVE_V6, by default
+ CURL_IPRESOLVE_WHATEVER.
Added in cURL 7.10.8.