ginetaddress: Handle systems without IPv6 support
This is a patch by a Frida contributor who needed to cross-compile Frida (and thus also GLib) for an embedded system running an older version of uClibc. Due to Frida being used for security research and reverse-engineering (for interopability) of legacy systems, this is something we need to support on our end. (And plan on adding CI coverage.)
It's however not clear to me whether:
- Support for old libc versions is within scope or should be maintained by downstream projects based on GLib. I would love to help out with support for this in GLib though if desired.
- This is how
InetAddress
should degrade in such scenarios.
Edited by Ole André Vadla Ravnås