tor returns first 4 bytes of IPv6 address only when using SOCKS command "F0"
Tor has a custom extension to the SOCKS protocol, defined in: https://gitweb.torproject.org/torspec.git/tree/socks-extensions.txt#n48
that allows resolving hostnames.
exitmap makes use of this SOCKS extension.
When the answer is an IPv6 address (ATYP=04) only the first 4 bytes are contained in the response instead of the entire IPv6 address.
Expected behavior: The entire IPv6 address should be in the response (128 bit instead of 32 bit).