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

ping: Add support for IPv4-mapped IPv6 address format #356

Closed
wants to merge 1 commit into from

Commits on Oct 18, 2024

  1. ping: Add support for IPv4-mapped IPv6 address format

    IP addresses with ::ffff: prefix are IPv6 addresses which are mapped to
    IPv4. Therefore ping resulting IPv4 address.
    
        $ ./src/fping -c1 ::ffff:127.0.0.1
        IPv4-Mapped-in-IPv6 address, using IPv4 127.0.0.1
         [<- 127.0.0.1]127.0.0.1        : [0], 64 bytes, 0.066 ms (0.066 avg, 0% loss)
    
    Signed-off-by: Petr Vorel <[email protected]>
    pevik committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    e6e9fbe View commit details
    Browse the repository at this point in the history