summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/getenv.c
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2001-10-30 15:57:20 +0000
committerdes <des@FreeBSD.org>2001-10-30 15:57:20 +0000
commit3554d69eb7586d90560931e7765242b2d0cd614f (patch)
tree8b0ad35d7459a161352a651f5ef3f1b68c18e484 /lib/libc/stdlib/getenv.c
parent85a9f299f9ff18dd7fee037e0aee7e70d3971e7e (diff)
downloadFreeBSD-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/getenv.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud