HomeFreeBSD

Use correct size for IPv4 address in gethostbyaddr().

Description

Use correct size for IPv4 address in gethostbyaddr().

When u_long is 8 bytes, it returns EINVAL and 'ipfw -N show' doesn't work.

Reported by: Claudio Eichenberger <cei at yourshop.com>
MFC after: 1 week

Details

Provenance
aeAuthored on
Parents
rS341797: ppc64: handle exception 0x1500 (soft patch)
Branches
Unknown
Tags
Unknown