summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkrw <>2012-07-13 09:32:23 +0000
committerkrw <>2012-07-13 09:32:23 +0000
commit1cb24e474ab651a39f96d1b0c7582a081ea8c2b8 (patch)
tree9416efdf30e98931d03fafee011296fa77274b54
parent0f58f66dd238ce3061b7055a4819e9945179f472 (diff)
downloadopenbsd-1cb24e474ab651a39f96d1b0c7582a081ea8c2b8.tar.gz
openbsd-1cb24e474ab651a39f96d1b0c7582a081ea8c2b8.tar.bz2
openbsd-1cb24e474ab651a39f96d1b0c7582a081ea8c2b8.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@
-rw-r--r--src/lib/libc/net/getifaddrs.37
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/libc/net/getifaddrs.3 b/src/lib/libc/net/getifaddrs.3
index f282e26960..6fc5a8d404 100644
--- a/src/lib/libc/net/getifaddrs.3
+++ b/src/lib/libc/net/getifaddrs.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: getifaddrs.3,v 1.14 2007/05/31 19:19:30 jmc Exp $ 1.\" $OpenBSD: getifaddrs.3,v 1.15 2012/07/13 09:32:23 krw Exp $
2.\" BSDI getifaddrs.3,v 2.5 2000/02/23 14:51:59 dab Exp 2.\" BSDI getifaddrs.3,v 2.5 2000/02/23 14:51:59 dab Exp
3.\" 3.\"
4.\" Copyright (c) 1995, 1999 4.\" Copyright (c) 1995, 1999
@@ -21,7 +21,7 @@
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE. 23.\" SUCH DAMAGE.
24.Dd $Mdocdate: May 31 2007 $ 24.Dd $Mdocdate: July 13 2012 $
25.Dt GETIFADDRS 3 25.Dt GETIFADDRS 3
26.Os 26.Os
27.Sh NAME 27.Sh NAME
@@ -92,7 +92,8 @@ references the broadcast address associated with
92if one exists, otherwise it is 92if one exists, otherwise it is
93.Dv NULL . 93.Dv NULL .
94.It Fa ifa_dstaddr 94.It Fa ifa_dstaddr
95References the destination address on a P2P interface, 95This field, which should only be referenced for P2P interfaces,
96references the destination address on a P2P interface,
96if one exists, otherwise it is 97if one exists, otherwise it is
97.Dv NULL . 98.Dv NULL .
98.It Fa ifa_data 99.It Fa ifa_data