HomeFreeBSD

- Fix a crash on a rpc entry when an IPv6 address is explicitly specified

Description

  • Fix a crash on a rpc entry when an IPv6 address is explicitly specified in -a flag.
  • Fix a bug that sockaddr_in was used where sockaddr_in6 should have been used. This was not actually harmful because offsetof(struct sockaddr_in, sin_port) is equal to offsetof(struct sockaddr_in6, sin6_port).

MFC after: 1 day

Details

Provenance
hrsAuthored on
Parents
rS287996: libc: Consistently call _ioctl() internally, not ioctl().
Branches
Unknown
Tags
Unknown