diff options
author | Antoine du Hamel <duhamelantoine1995@gmail.com> | 2022-01-07 19:24:40 +0300 |
---|---|---|
committer | Antoine du Hamel <duhamelantoine1995@gmail.com> | 2022-04-12 06:50:09 +0300 |
commit | 3a26db9697a09915a0d541d97f047fc9c02bb452 (patch) | |
tree | 66359e4b009324215ec0915b44948a1501a10172 /src/env.h | |
parent | 6706be1cdb676605a25d1a4b8dd0890fab62d73f (diff) |
net: make `server.address()` return an integer for `family`
`dns.lookup` options only accepts integer for `family` options,
having a string doesn't really make sense here.
PR-URL: https://github.com/nodejs/node/pull/41431
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Diffstat (limited to 'src/env.h')
-rw-r--r-- | src/env.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/env.h b/src/env.h index efaeb53fbc7..bededfcb5de 100644 --- a/src/env.h +++ b/src/env.h @@ -289,8 +289,6 @@ constexpr size_t kFsStatsBufferLength = V(input_string, "input") \ V(internal_binding_string, "internalBinding") \ V(internal_string, "internal") \ - V(ipv4_string, "IPv4") \ - V(ipv6_string, "IPv6") \ V(isclosing_string, "isClosing") \ V(issuer_string, "issuer") \ V(issuercert_string, "issuerCertificate") \ |