summaryrefslogtreecommitdiffstats
path: root/share/man/man4/ip.4
diff options
context:
space:
mode:
authorbms <bms@FreeBSD.org>2004-06-16 05:04:17 +0000
committerbms <bms@FreeBSD.org>2004-06-16 05:04:17 +0000
commit9756fdf7681e47cac2fd8c611bea20724470df33 (patch)
tree69527db5fbab89e3389b2731c0409470e4559506 /share/man/man4/ip.4
parent1e2bc9e8f6882b458dde15a5522bbc9a2aa91b7d (diff)
downloadFreeBSD-src-9756fdf7681e47cac2fd8c611bea20724470df33.zip
FreeBSD-src-9756fdf7681e47cac2fd8c611bea20724470df33.tar.gz
Document the behaviour of IP_ADD_MEMBERSHIP as per RFC 1724.
PR: bin/51927
Diffstat (limited to 'share/man/man4/ip.4')
-rw-r--r--share/man/man4/ip.412
1 files changed, 10 insertions, 2 deletions
diff --git a/share/man/man4/ip.4 b/share/man/man4/ip.4
index 647ebfa..575725f 100644
--- a/share/man/man4/ip.4
+++ b/share/man/man4/ip.4
@@ -432,14 +432,22 @@ struct ip_mreq {
.Ed
.Pp
.Dv imr_interface
-should
-be
+should be set to
.Dv INADDR_ANY
to choose the default multicast interface,
or the
.Tn IP
address of a particular multicast-capable interface if
the host is multihomed.
+Since
+.Fx 4.4 ,
+if the
+.Dv imr_interface
+member is within the network range
+.Li 0.0.0.0/8 ,
+it is treated as an interface index in the system interface MIB,
+as per the RIP Version 2 MIB Extension (RFC-1724).
+.Pp
Membership is associated with a single interface;
programs running on multihomed hosts may need to
join the same group on more than one interface.
OpenPOWER on IntegriCloud