Tue Sep 23 14:58:05 2008 UTC ()
IPTOS values are defined in netinet/ip.h, not netinet/in.h.


(briggs)
diff -r1.22 -r1.23 src/share/man/man4/ip.4

cvs diff -r1.22 -r1.23 src/share/man/man4/ip.4 (expand / switch to context diff)
--- src/share/man/man4/ip.4 2006/12/23 06:58:20 1.22
+++ src/share/man/man4/ip.4 2008/09/23 14:58:05 1.23
@@ -1,4 +1,4 @@
-.\"	$NetBSD: ip.4,v 1.22 2006/12/23 06:58:20 wiz Exp $
+.\"	$NetBSD: ip.4,v 1.23 2008/09/23 14:58:05 briggs Exp $
 .\"
 .\" Copyright (c) 1983, 1991, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"     @(#)ip.4	8.2 (Berkeley) 11/30/93
 .\"
-.Dd December 5, 2006
+.Dd September 23, 2008
 .Dt IP 4
 .Os
 .Sh NAME
@@ -94,7 +94,7 @@
 sockets.
 For example,
 .Bd -literal
-int tos = IPTOS_LOWDELAY;       /* see \*[Lt]netinet/in.h\*[Gt] */
+int tos = IPTOS_LOWDELAY;       /* see \*[Lt]netinet/ip.h\*[Gt] */
 setsockopt(s, IPPROTO_IP, IP_TOS, \*[Am]tos, sizeof(tos));
 
 int ttl = 60;                   /* max = 255 */