summaryrefslogtreecommitdiff
path: root/test/parallel/test-net-connect-options-port.js
diff options
context:
space:
mode:
authormurgatroid99 <mlumish@google.com>2020-03-09 15:44:47 -0700
committerAnna Henningsen <anna@addaleax.net>2020-03-30 17:21:13 +0200
commit18c3ff99aa26064199c75e220145a465980cf82b (patch)
tree06f15f9431a91e738e6cbdc1e5b00e5cc9522213 /test/parallel/test-net-connect-options-port.js
parentbbf3fb8ac9457e7d990a10b15444d457147ae662 (diff)
downloadnode-new-18c3ff99aa26064199c75e220145a465980cf82b.tar.gz
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 'test/parallel/test-net-connect-options-port.js')
-rw-r--r--test/parallel/test-net-connect-options-port.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-net-connect-options-port.js b/test/parallel/test-net-connect-options-port.js
index 88e626354e..91598f5f15 100644
--- a/test/parallel/test-net-connect-options-port.js
+++ b/test/parallel/test-net-connect-options-port.js
@@ -59,7 +59,7 @@ const net = require('net');
// Test invalid hints
{
// connect({hint}, cb) and connect({hint})
- const hints = (dns.ADDRCONFIG | dns.V4MAPPED) + 42;
+ const hints = (dns.ADDRCONFIG | dns.V4MAPPED | dns.ALL) + 42;
const hintOptBlocks = doConnect([{ hints }],
() => common.mustNotCall());
for (const fn of hintOptBlocks) {