From 26c3ef5325f2fb0f62c7e076773e5f6155dfe553 Mon Sep 17 00:00:00 2001 From: Bruce M Simpson Date: Wed, 16 Jun 2004 05:04:17 +0000 Subject: [PATCH] Document the behaviour of IP_ADD_MEMBERSHIP as per RFC 1724. PR: bin/51927 --- share/man/man4/ip.4 | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/share/man/man4/ip.4 b/share/man/man4/ip.4 index 647ebfa34cf..575725fa337 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.