For non-AF_LINK ifaddrs, ifa_data is NULL. AFAICT, this has always been
so. Say so in the documentation.
This commit is contained in:
parent
e4decce5b3
commit
c378e7997c
|
@ -1,4 +1,4 @@
|
|||
.\" $NetBSD: getifaddrs.3,v 1.9 2009/03/11 13:35:42 joerg Exp $
|
||||
.\" $NetBSD: getifaddrs.3,v 1.10 2009/04/21 23:27:09 dyoung Exp $
|
||||
.\" BSDI getifaddrs.3,v 2.5 2000/02/23 14:51:59 dab Exp
|
||||
.\"
|
||||
.\" Copyright (c) 1995, 1999
|
||||
|
@ -115,10 +115,7 @@ addresses it contains a pointer to the
|
|||
.Fa struct if_data
|
||||
.Pq as defined in include file Aq Pa net/if.h
|
||||
which contains various interface attributes and statistics.
|
||||
For all other address families, it contains a pointer to the
|
||||
.Fa struct ifa_data
|
||||
.Pq as defined in include file Aq Pa net/if.h
|
||||
which contains per-address interface statistics.
|
||||
For all other address families, it is NULL.
|
||||
.Pp
|
||||
The data returned by
|
||||
.Fn getifaddrs
|
||||
|
|
Loading…
Reference in New Issue