Skip to content

Commit 27564b7

Browse files
freego555marco-ippolito
authored andcommittedNov 17, 2024
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 8b8d35f commit 27564b7

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
@@ -1779,7 +1779,9 @@ added: v19.4.0
17791779

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

1782-
* `value` {boolean} The new default value. The initial default value is `false`.
1782+
* `value` {boolean} The new default value.
1783+
The initial default value is `true`, unless the command line option
1784+
`--no-network-family-autoselection` is provided.
17831785

17841786
## `net.getDefaultAutoSelectFamilyAttemptTimeout()`
17851787

0 commit comments

Comments
 (0)
Please sign in to comment.