Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

net: allow wider regex in interface name #34364

Closed
wants to merge 1 commit into from
Closed

Commits on Jul 14, 2020

  1. 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: nodejs#14500
    
    Signed-off-by: Stewart Addison <sxa@uk.ibm.com>
    Stewart Addison committed Jul 14, 2020
    Copy the full SHA
    1748917 View commit details
    Browse the repository at this point in the history