Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jun 2010 17:39:00 GMT
From:      Aleksey <otim@mail.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/148238: net/quagga: multicast join failed
Message-ID:  <201006291739.o5THd0id068445@www.freebsd.org>
Resent-Message-ID: <201006291740.o5THe6aQ097079@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         148238
>Category:       ports
>Synopsis:       net/quagga: multicast join failed
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 29 17:40:06 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Aleksey
>Release:        7.3-RELEASE
>Organization:
MKC
>Environment:
FreeBSD bras0 7.3-RELEASE-p1 FreeBSD 7.3-RELEASE-p1 #1: Tue Jun 29 17:15:15 OMSST 2010     root@bras0:/usr/obj/usr/src/sys/GW  i386
>Description:
quagga-0.99.16 when start protocol to routings on several interfaces >1, exists errors of the join multicast.

Jun 29 19:36:35 bras0 ripd[56694]: can't setsockopt IP_ADD_MEMBERSHIP Invalid argument
Jun 29 19:36:35 bras0 ripd[56694]: multicast join failed, interface em1 not running

>How-To-Repeat:
ripd.conf

router rip
  version 2
  network em0
  network em1
  redistribute connected

zebra.conf

interface em0
 ip address 10.254.171.1/24
 multicast

interface em1
 ip address 10.254.172.1/24
 multicast

>Fix:
quagga-0.99.15 patch-lib-sockopt.c

Patch attached with submission follows:

--- lib/sockopt.c.orig	2008-01-11 16:47:21.000000000 +0300
+++ lib/sockopt.c	2008-01-11 16:47:57.000000000 +0300
@@ -23,6 +23,10 @@
 #include "log.h"
 #include "sockopt.h"
 
+#ifdef HAVE_STRUCT_IP_MREQN_IMR_IFINDEX
+#undef HAVE_STRUCT_IP_MREQN_IMR_IFINDEX
+#endif
+
 int
 setsockopt_so_recvbuf (int sock, int size)
 {


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006291739.o5THd0id068445>