Module Name:    src
Committed By:   dholland
Date:           Sat Feb 22 17:29:13 UTC 2014

Modified Files:
        src/share/man/man4: multicast.4

Log Message:
Fix examples, from Henning Petersen in PR misc/48612.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/share/man/man4/multicast.4

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man4/multicast.4
diff -u src/share/man/man4/multicast.4:1.6 src/share/man/man4/multicast.4:1.7
--- src/share/man/man4/multicast.4:1.6	Tue Mar 13 19:25:40 2012
+++ src/share/man/man4/multicast.4	Sat Feb 22 17:29:13 2014
@@ -24,7 +24,7 @@
 .\" DEALINGS IN THE SOFTWARE.
 .\"
 .\" $FreeBSD: src/share/man/man4/multicast.4,v 1.4 2004/07/09 09:22:36 ru Exp $
-.\" $NetBSD: multicast.4,v 1.6 2012/03/13 19:25:40 njoly Exp $
+.\" $NetBSD: multicast.4,v 1.7 2014/02/22 17:29:13 dholland Exp $
 .\"
 .Dd September 4, 2003
 .Dt MULTICAST 4
@@ -312,7 +312,7 @@ mc.mf6cc_parent = iif_index;
 for (i = 0; i \*[Lt] maxvifs; i++)
     if (oifs_ttl[i] \*[Gt] 0)
         IF_SET(i, \*[Am]mc.mf6cc_ifset);
-setsockopt(mrouter_s4, IPPROTO_IPV6, MRT6_ADD_MFC,
+setsockopt(mrouter_s6, IPPROTO_IPV6, MRT6_ADD_MFC,
            (void *)\*[Am]mc, sizeof(mc));
 .Ed
 .Pp
@@ -351,7 +351,7 @@ struct mf6cctl mc;
 memset(\*[Am]mc, 0, sizeof(mc));
 memcpy(\*[Am]mc.mf6cc_origin, \*[Am]source_addr, sizeof(mc.mf6cc_origin));
 memcpy(\*[Am]mc.mf6cc_mcastgrp, \*[Am]group_addr, sizeof(mf6cc_mcastgrp));
-setsockopt(mrouter_s4, IPPROTO_IPV6, MRT6_DEL_MFC,
+setsockopt(mrouter_s6, IPPROTO_IPV6, MRT6_DEL_MFC,
            (void *)\*[Am]mc, sizeof(mc));
 .Ed
 .Pp

Reply via email to