tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: small code duplication reduction patch



In article <20160214225154.GB20416@pris>,
Tyler Retzlaff  <rtr%netbsd.org@localhost> wrote:
>-=-=-=-=-=-
>
>hi,
>
>the attached patch splits out a new function in6_in_2_v4mapin6() for
>creating IPv4-Maped IPv6 addresses from IPv4 addresses from the
>existing in6_sin_2_v4mapsin6()
>
>the remainder of the patch replaces redundant code which uses either
>the new in6_in_2_v4mapin6() (for dealing with in{,6}_addr) or
>existing in6_sin_2_v4mapsin6() (for dealing with sockaddr_in{,6})
>
>no functional change intended, unless there are problems i'll
>commit in the next day or two.

LGTM.

christos



Home | Main Index | Thread Index | Old Index