Skip to content

Commit 27564b7

Browse files
freego555marco-ippolito
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 <[email protected]> Reviewed-By: Paolo Insogna <[email protected]> Reviewed-By: Jake Yuesong Li <[email protected]>
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)