From owner-freebsd-ports Fri Oct 1 7: 0: 4 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id D8882154ED for ; Fri, 1 Oct 1999 07:00:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id HAA66671; Fri, 1 Oct 1999 07:00:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from anon.lcs.mit.edu (anon.lcs.mit.edu [18.26.0.254]) by hub.freebsd.org (Postfix) with SMTP id 35DFF154ED for ; Fri, 1 Oct 1999 06:59:30 -0700 (PDT) (envelope-from serge69@nym.alias.net) Message-Id: <19991001135925.30349.qmail@nym.alias.net> Date: 1 Oct 1999 13:59:25 -0000 From: Sergey To: FreeBSD-gnats-submit@freebsd.org Subject: ports/14077: Strange problem with rip_mc_set in gated Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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