mirror of
https://github.com/FRRouting/frr.git
synced 2025-04-30 21:47:15 +02:00
pimd: PIM_MRT is a linux specific piece of code.
The PIM_MRT and registration for WRVIFWHOLECACHE is a bit of linux specific code. Until such time that this gets implemented we will have issues being able to work within the context of PIM-SM. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
3629c61d11
commit
77b7d90beb
|
@ -16,10 +16,6 @@
|
||||||
along with this program; see the file COPYING; if not, write to the
|
along with this program; see the file COPYING; if not, write to the
|
||||||
Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
|
Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
|
||||||
MA 02110-1301 USA
|
MA 02110-1301 USA
|
||||||
<<<<<<< HEAD
|
|
||||||
|
|
||||||
=======
|
|
||||||
>>>>>>> origin/master
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <zebra.h>
|
#include <zebra.h>
|
||||||
|
@ -91,6 +87,7 @@ static int pim_mroute_set(int fd, int enable)
|
||||||
|
|
||||||
if (enable)
|
if (enable)
|
||||||
{
|
{
|
||||||
|
#if defined linux
|
||||||
int upcalls = IGMPMSG_WRVIFWHOLE;
|
int upcalls = IGMPMSG_WRVIFWHOLE;
|
||||||
opt = MRT_PIM;
|
opt = MRT_PIM;
|
||||||
|
|
||||||
|
@ -101,6 +98,9 @@ static int pim_mroute_set(int fd, int enable)
|
||||||
errno, safe_strerror (errno));
|
errno, safe_strerror (errno));
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
zlog_warn ("PIM-SM will not work properly on this platform, until the ability to receive the WRVIFWHOLE upcall");
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in a new issue