Skip to content

Commit 8eae0d3

Browse files
freego555targos
authored andcommitted
doc: fix initial default value of autoSelectFamily
Specify the initial default value of `autoSelectFamily` in description of `net.setDefaultAutoSelectFamily()` as specified in description of `net.getDefaultAutoSelectFamily()`. PR-URL: #55245 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Paolo Insogna <paolo@cowtech.it> Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com>
1 parent d7b73bb commit 8eae0d3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

doc/api/net.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -1798,7 +1798,9 @@ added: v19.4.0
17981798

17991799
Sets the default value of the `autoSelectFamily` option of [`socket.connect(options)`][].
18001800

1801-
* `value` {boolean} The new default value. The initial default value is `false`.
1801+
* `value` {boolean} The new default value.
1802+
The initial default value is `true`, unless the command line option
1803+
`--no-network-family-autoselection` is provided.
18021804

18031805
## `net.getDefaultAutoSelectFamilyAttemptTimeout()`
18041806

0 commit comments

Comments
 (0)