diff options
author | murgatroid99 <mlumish@google.com> | 2020-03-09 15:44:47 -0700 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2020-03-30 17:21:13 +0200 |
commit | 18c3ff99aa26064199c75e220145a465980cf82b (patch) | |
tree | 06f15f9431a91e738e6cbdc1e5b00e5cc9522213 /test/parallel/test-net-connect-options-port.js | |
parent | bbf3fb8ac9457e7d990a10b15444d457147ae662 (diff) | |
download | node-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.js | 2 |
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) { |