Skip to content

if inet_ntop() is available, use it, even if IPv6 support is disabled

Alan Coopersmith requested to merge alanc/xauth:IPv6 into master

Support for using inet_ntop() was originally added to support IPv6, and only used if IPv6 support was enabled. Two decades later, support for inet_ntop() is ubiquitous and OS'es have marked inet_ntoa() as deprecated, so use the modern interface whenever we can now.

Merge request reports

Loading