diff options
author | des <des@FreeBSD.org> | 2001-10-30 15:57:20 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2001-10-30 15:57:20 +0000 |
commit | 3554d69eb7586d90560931e7765242b2d0cd614f (patch) | |
tree | 8b0ad35d7459a161352a651f5ef3f1b68c18e484 /lib/libc/stdlib/malloc.c | |
parent | 85a9f299f9ff18dd7fee037e0aee7e70d3971e7e (diff) | |
download | FreeBSD-src-3554d69eb7586d90560931e7765242b2d0cd614f.zip FreeBSD-src-3554d69eb7586d90560931e7765242b2d0cd614f.tar.gz |
Make sure the netmask always has an address family. This fixes Linux
ifconfig, which expects the address returned by the SIOCGIFNETMASK ioctl
to have a valid sa_family. Similar changes may be necessary for IPv6.
While we're here, get rid of an unnecessary temp variable.
MFC after: 2 weeks
Diffstat (limited to 'lib/libc/stdlib/malloc.c')
0 files changed, 0 insertions, 0 deletions