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

test/dgram: Add support for IPv6 link local scope IDs in received UDP datagrams #14500

Commits on Jun 25, 2020

  1. dgram: add IPv6 scope id suffix to received udp6 dgrams

    Add IPv6 link local scope ID suffix to the
    rinfo address in those received upd6 datagrams
    whose source address is a link local address.
    
    Add a new test case, test-dgram-udp6-link-local-address,
    to verify that IPv6 UDP datagrams received from a
    link-local source address do contain the scope ID
    suffix in the rinfo address field.
    
    When a packet is received from a link-local source
    address, if the address does not contain the scope
    ID suffix, it is impossible to reply back to the
    sender, as the kernel is not able to determine
    the right network interface to send the packet
    through and returns with an error.
    
    Ref: nodejs#1649
    PR-URL: nodejs#14500
    pekkanikander authored and Trott committed Jun 25, 2020
    Configuration menu
    Copy the full SHA
    8c04775 View commit details
    Browse the repository at this point in the history