Skip site navigation (1)Skip section navigation (2)
Date:      1 Oct 1999 13:59:25 -0000
From:      Sergey <serge69@nym.alias.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/14077: Strange problem with rip_mc_set in gated
Message-ID:  <19991001135925.30349.qmail@nym.alias.net>

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

>Number:         14077
>Category:       ports
>Synopsis:       Multicast not available on multicast enabled interface
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct  1 07:00:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Sergey
>Release:        FreeBSD 3.3-STABLE i386
>Organization:
>Environment:
 Multicast-enabled network interface(MNI) has multiple IP addresses.
 Gated started from rc.network script.
>Description:
 Message 'multicast not available; reverting to RIP V1 version' appears
 on system console during boot. This problem disappears, if you restart
 gated after boot. 

>How-To-Repeat:
 Just boot system with router='gated' in /etc/rc.conf.

>Fix:
 This problem caused by missing syslogd daemon. Error reporting function
 changes actual errno and make gated believe that MNI doesn't have multicast.
 Here is a hack to fix this.

--- src/task.c.orig	Fri Oct  1 17:12:09 1999
+++ src/task.c	Fri Oct  1 17:15:25 1999
@@ -4841,10 +4841,12 @@
     }
 
     if (rc < 0) {
+     int actual_errno=errno;
 	trace_log_tp(tp,
 		     0,
 		     LOG_ERR,
 		     (": %m"));
+        errno = actual_errno; /* Need socket error, not trace one */
     } else {
 	trace_tp(tp,
 		 TR_TASK,


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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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