Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormurgatroid99 <mlumish@google.com>2020-03-10 01:44:47 +0300
committerAnna Henningsen <anna@addaleax.net>2020-03-30 18:21:13 +0300
commit18c3ff99aa26064199c75e220145a465980cf82b (patch)
tree06f15f9431a91e738e6cbdc1e5b00e5cc9522213 /src/cares_wrap.cc
parentbbf3fb8ac9457e7d990a10b15444d457147ae662 (diff)
dns: add dns.ALL hints flag constant
PR-URL: https://github.com/nodejs/node/pull/32183 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'src/cares_wrap.cc')
-rw-r--r--src/cares_wrap.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cares_wrap.cc b/src/cares_wrap.cc
index 71d8f8569ba..ff050cc2dc9 100644
--- a/src/cares_wrap.cc
+++ b/src/cares_wrap.cc
@@ -2189,6 +2189,9 @@ void Initialize(Local<Object> target,
"AI_ADDRCONFIG"),
Integer::New(env->isolate(), AI_ADDRCONFIG)).Check();
target->Set(env->context(), FIXED_ONE_BYTE_STRING(env->isolate(),
+ "AI_ALL"),
+ Integer::New(env->isolate(), AI_ALL)).Check();
+ target->Set(env->context(), FIXED_ONE_BYTE_STRING(env->isolate(),
"AI_V4MAPPED"),
Integer::New(env->isolate(), AI_V4MAPPED)).Check();