File tree 1 file changed +5
-6
lines changed
1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -246,12 +246,11 @@ changes:
246
246
247
247
* ` hostname ` {string}
248
248
* ` options ` {integer | Object}
249
- * ` family ` {integer|string} The record family. Must be ` 4 ` , ` 6 ` , or ` 0 ` . For
250
- backward compatibility reasons,` 'IPv4' ` and ` 'IPv6' ` are interpreted as ` 4 `
251
- and ` 6 ` respectively. The value ` 0 ` indicates that either an IPv4 or IPv6
252
- address is returned. If the value ` 0 ` is used with ` { all: true } ` (see
253
- below), either one of or both IPv4 and IPv6 addresses are returned,
254
- depending on the system's DNS resolver. ** Default:** ` 0 ` .
249
+ * ` family ` {integer|string} The record family. Must be ` 4 ` , ` 6 ` , or ` 0 ` . The
250
+ value ` 0 ` indicates that either an IPv4 or IPv6 address is returned. If the
251
+ value ` 0 ` is used with ` { all: true } ` (see below), either one of or both
252
+ IPv4 and IPv6 addresses are returned, depending on the system's DNS
253
+ resolver. ** Default:** ` 0 ` .
255
254
* ` hints ` {number} One or more [ supported ` getaddrinfo ` flags] [ ] . Multiple
256
255
flags may be passed by bitwise ` OR ` ing their values.
257
256
* ` all ` {boolean} When ` true ` , the callback returns all resolved addresses in
You can’t perform that action at this time.
0 commit comments