summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2012-07-13 09:32:23 +0000
committerkrw <krw@openbsd.org>2012-07-13 09:32:23 +0000
commit5269b27227e4e5a5d93072589d27178c0ca488f1 (patch)
tree1aeb422066cfdda38ccf0d1ea06113b97cbfbdec /lib/libc
parentback out stuff that snuck into the last commit (diff)
downloadwireguard-openbsd-5269b27227e4e5a5d93072589d27178c0ca488f1.tar.xz
wireguard-openbsd-5269b27227e4e5a5d93072589d27178c0ca488f1.zip
Use same (lame) verbiage to explain ifa_dstaddr as is used for
ifa_broadaddr. i.e. make it make clear that this field is only valid for P2P. (Hint: one's a field, and one's a #define giving a new name to said field) ok guenther@
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/net/getifaddrs.37
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/libc/net/getifaddrs.3 b/lib/libc/net/getifaddrs.3
index f282e26960e..6fc5a8d4049 100644
--- a/lib/libc/net/getifaddrs.3
+++ b/lib/libc/net/getifaddrs.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getifaddrs.3,v 1.14 2007/05/31 19:19:30 jmc Exp $
+.\" $OpenBSD: getifaddrs.3,v 1.15 2012/07/13 09:32:23 krw Exp $
.\" BSDI getifaddrs.3,v 2.5 2000/02/23 14:51:59 dab Exp
.\"
.\" Copyright (c) 1995, 1999
@@ -21,7 +21,7 @@
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: July 13 2012 $
.Dt GETIFADDRS 3
.Os
.Sh NAME
@@ -92,7 +92,8 @@ references the broadcast address associated with
if one exists, otherwise it is
.Dv NULL .
.It Fa ifa_dstaddr
-References the destination address on a P2P interface,
+This field, which should only be referenced for P2P interfaces,
+references the destination address on a P2P interface,
if one exists, otherwise it is
.Dv NULL .
.It Fa ifa_data