HomeFreeBSD

- Remove unused union p_un.

Description

  • Remove unused union p_un.
  • Use NI_MAXHOST-long buffer for getnameinfo(). Although INET6_ADDRSTRLEN was designed to hold the longest IPv6 address in IPv4-mapped address format a long time ago, getnameinfo() can return scope identifier in addition to it.

MFC after: 1 day

Details

Provenance
hrsAuthored on
Parents
rS287997: - Fix a crash on a rpc entry when an IPv6 address is explicitly specified
Branches
Unknown
Tags
Unknown