summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2001-05-14 09:12:07 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2001-05-14 09:12:07 +0000
commit625e93f7165edeb6dce84aedba88aadf3333f947 (patch)
tree2a76dbc87b304f246a448792accc3eb4e56ab6ff
parent4c7abc7963800371397b488d36db0897326c13bf (diff)
cmsg_len = CMSG_LEN(sizeof(struct in_addr)) is correct, ok itojun@
-rw-r--r--share/man/man4/ip.44
1 files changed, 2 insertions, 2 deletions
diff --git a/share/man/man4/ip.4 b/share/man/man4/ip.4
index 1534d6076fb..a67d4dd35a4 100644
--- a/share/man/man4/ip.4
+++ b/share/man/man4/ip.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ip.4,v 1.14 2001/01/29 19:44:02 aaron Exp $
+.\" $OpenBSD: ip.4,v 1.15 2001/05/14 09:12:06 markus Exp $
.\" $NetBSD: ip.4,v 1.3 1994/11/30 16:22:19 jtc Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -129,7 +129,7 @@ that contains a cmsghdr structure followed by the
address.
The cmsghdr fields have the following values:
.Bd -literal
-cmsg_len = sizeof(struct in_addr)
+cmsg_len = CMSG_LEN(sizeof(struct in_addr))
cmsg_level = IPPROTO_IP
cmsg_type = IP_RECVDSTADDR
.Ed