Files
node/doc/api
Rich Trott 09cdc37824 dns: do not indicate invalid IPs are IPv6
In lib/dns.js, use `isIP()` instead of `isIPv4()` for determining the
`family` property in `lookup()`. If an invalid IP address is returned,
the `family` currently provided is `6`. With this change, it will be
`0`. Update documentation to reflect this.

PR-URL: https://github.com/nodejs/node/pull/27081
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
2019-04-16 16:19:17 -07:00
..
2019-01-27 03:34:25 +01:00
2019-04-08 09:22:32 +02:00
2019-03-08 08:19:38 -06:00
2019-01-18 10:35:55 +05:30
2019-03-25 16:28:07 +01:00
2019-04-02 20:48:59 -04:00
2019-04-15 07:20:38 +02:00
2019-04-15 17:30:53 +02:00
2019-04-09 16:43:04 -04:00
2019-01-14 09:36:41 +01:00