diff options
author | murgatroid99 <mlumish@google.com> | 2020-03-10 01:44:47 +0300 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2020-03-30 20:18:56 +0300 |
commit | e14317a8401dd8662829bd145291e3fab057dcbe (patch) | |
tree | c90b9993297fa57df8b9f360af3d845c9f5a97f0 /src/cares_wrap.cc | |
parent | b4940537455840b4e66a91175b15311c6edeff4c (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.cc | 3 |
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(); |