[3.10] bpo-33433 Fix private address checking for IPv4 mapped IPv6. (GH-26172) by miss-islington · Pull Request #26189 · python/cpython

@JamoBox @miss-islington

…H-26172)

For IPv4 mapped IPv6 addresses, defer privacy check to the mapped IPv4 address. Solves bug where public mapped IPv4 addresses are considered private by the IPv6 check.

Automerge-Triggered-By: GH:gpshead
(cherry picked from commit 83f0f8d)

Co-authored-by: Pete Wicken <2273100+JamoBox@users.noreply.github.com>