ports/148238: net/quagga: multicast join failed

Aleksey otim at mail.ru
Tue Jun 29 17:40:07 UTC 2010


>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 at 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:



More information about the freebsd-ports-bugs mailing list