diff options
author | brueffer <brueffer@FreeBSD.org> | 2014-02-07 11:40:50 +0000 |
---|---|---|
committer | brueffer <brueffer@FreeBSD.org> | 2014-02-07 11:40:50 +0000 |
commit | 67054cde7447f3d9c7bb68269961c1a6dd4e350b (patch) | |
tree | b36cdfe64e98d7741aa4094643751a42bdfe960b /share | |
parent | 3fc4af35a230e750a4f407f4b10ce2349aec6a5c (diff) | |
download | FreeBSD-src-67054cde7447f3d9c7bb68269961c1a6dd4e350b.zip FreeBSD-src-67054cde7447f3d9c7bb68269961c1a6dd4e350b.tar.gz |
In IPv6 code examples, use the correct v6 socket.
MFC after: 1 week
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man4/multicast.4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/man/man4/multicast.4 b/share/man/man4/multicast.4 index 2f0954e..81d6c77 100644 --- a/share/man/man4/multicast.4 +++ b/share/man/man4/multicast.4 @@ -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 |