Date: Fri, 7 Feb 2014 11:40:51 +0000 (UTC) From: Christian Brueffer <brueffer@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r261584 - head/share/man/man4 Message-ID: <201402071140.s17Bep6i082884@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: brueffer Date: Fri Feb 7 11:40:50 2014 New Revision: 261584 URL: http://svnweb.freebsd.org/changeset/base/261584 Log: In IPv6 code examples, use the correct v6 socket. MFC after: 1 week Modified: head/share/man/man4/multicast.4 Modified: head/share/man/man4/multicast.4 ============================================================================== --- head/share/man/man4/multicast.4 Fri Feb 7 10:58:46 2014 (r261583) +++ head/share/man/man4/multicast.4 Fri Feb 7 11:40:50 2014 (r261584) @@ -326,7 +326,7 @@ mc.mf6cc_parent = iif_index; for (i = 0; i < maxvifs; i++) if (oifs_ttl[i] > 0) IF_SET(i, &mc.mf6cc_ifset); -setsockopt(mrouter_s4, IPPROTO_IPV6, MRT6_ADD_MFC, +setsockopt(mrouter_s6, IPPROTO_IPV6, MRT6_ADD_MFC, (void *)&mc, sizeof(mc)); .Ed .Pp @@ -365,7 +365,7 @@ struct mf6cctl mc; memset(&mc, 0, sizeof(mc)); memcpy(&mc.mf6cc_origin, &source_addr, sizeof(mc.mf6cc_origin)); memcpy(&mc.mf6cc_mcastgrp, &group_addr, sizeof(mf6cc_mcastgrp)); -setsockopt(mrouter_s4, IPPROTO_IPV6, MRT6_DEL_MFC, +setsockopt(mrouter_s6, IPPROTO_IPV6, MRT6_DEL_MFC, (void *)&mc, sizeof(mc)); .Ed .Pp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402071140.s17Bep6i082884>