Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/man/man4 Fix examples, from Henning Petersen in PR mis...



details:   https://anonhg.NetBSD.org/src/rev/c50cdfdd4f80
branches:  trunk
changeset: 793668:c50cdfdd4f80
user:      dholland <dholland%NetBSD.org@localhost>
date:      Sat Feb 22 17:29:13 2014 +0000

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

diffstat:

 share/man/man4/multicast.4 |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (30 lines):

diff -r 8925a50f7f97 -r c50cdfdd4f80 share/man/man4/multicast.4
--- a/share/man/man4/multicast.4        Sat Feb 22 17:26:41 2014 +0000
+++ b/share/man/man4/multicast.4        Sat Feb 22 17:29:13 2014 +0000
@@ -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 @@
 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 @@
 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



Home | Main Index | Thread Index | Old Index