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: https://github.com/nodejs/node/pull/55245
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Paolo Insogna <paolo@cowtech.it>
Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com>
This commit is contained in:
Ihor Rohovets 2024-10-05 05:06:36 +03:00 committed by GitHub
parent 98788dace6
commit 32efeea0c0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1798,7 +1798,9 @@ added: v19.4.0
Sets the default value of the `autoSelectFamily` option of [`socket.connect(options)`][].
* `value` {boolean} The new default value. The initial default value is `false`.
* `value` {boolean} The new default value.
The initial default value is `true`, unless the command line option
`--no-network-family-autoselection` is provided.
## `net.getDefaultAutoSelectFamilyAttemptTimeout()`