diff options
author | Stewart Addison <sxa@uk.ibm.com> | 2020-07-14 14:30:44 +0100 |
---|---|---|
committer | Michael Dawson <michael_dawson@ca.ibm.com> | 2020-07-16 18:32:25 -0400 |
commit | 9cb72930e51ab86668943513981af3b363b60356 (patch) | |
tree | 798cb574b53c2d7ab6975f708cf0c7a324f59bba /tools | |
parent | 5487054225e3002a72be3fab2605725c0a89c8a4 (diff) | |
download | node-new-9cb72930e51ab86668943513981af3b363b60356.tar.gz |
net: allow wider regex in interface name
Zone IDs on Linux are network interface names. The regex we use to
determine valid IPs does not allow for non-alphanumeric characters
in the zone ID suffix. Some machines (including the RHEL Linux/s390x
machines from Marist) have zone IDs with a '.' character in them
which the regex in net.isIP rejects. This changes the regex.
Ref: https://github.com/nodejs/node/pull/14500
Signed-off-by: Stewart Addison <sxa@uk.ibm.com>
PR-URL: https://github.com/nodejs/node/pull/34364
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions