HomeFreeBSD

libfetch: parse IPv4address in IPv6address properly

Description

libfetch: parse IPv4address in IPv6address properly

This fix parsing problems of IPv6 addresses which contains IPv4
addresses. One example is ::192.168.0.1.

Documents are in below:
https://datatracker.ietf.org/doc/html/rfc2373#page-22

Sponsored by: Juniper Networks, Inc.
MFC after: 1 week
Reviewed by: jhibbits
Differential Revision: https://reviews.freebsd.org/D45896

Details

Provenance
khngAuthored on Jul 11 2024, 7:48 PM
Reviewer
jhibbits
Differential Revision
D45896: libfetch: parse IPv4address in IPv6address properly
Parents
rG7c2901b08b4e: mountd: Add options to disable daemon mode and setting localhost
Branches
Unknown
Tags
Unknown