Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jun 1996 21:54:14 -0500
From:      "Daniel M. Eischen" <deischen@iworks.InterWorks.org>
To:        current@FreeBSD.org, fenner@parc.xerox.com, wollman@lcs.mit.edu
Subject:   Re: As of 960608, routed now complains bitterly.
Message-ID:  <9606200254.AA05157@iworks.InterWorks.org>

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

> Here is an experiment you might try... in
> /usr/src/usr.sbin/routed/defs.h, look for the lines:
>
> #ifdef sgi
> #define IFF_UP_RUNNING (IFF_RUNNING|IFF_UP)
> #else
> #define IFF_UP_RUNNING IFF_UP
> #endif
> 
> ...and change the `#ifdef sgi' to `#if 1' and see what happens.  You
> might have to fix up a few interfaces in the kernel (like the
> loopback) so that they properly set IFF_RUNNING in order for this to
> work.  (I will do so in -current.)
> 
> Also, if you are getting lots of IP_[ADD|DROP]_MEMBERSHIP warnings,
> try defining MCAST_PPP_BUG.  I don't think that this should be
> necessary, but it can't hurt to try.

I made both of these changes and rebuilt routed but it still fails in
the same way.  I didn't change anything else in the kernel, though.
It looked like /usr/src/sys/net/if.h was the place to redefine IFF_RUNNING;
it's defined to be 0x40.  I wasn't sure if this was correct.

Dan Eischen
deischen@iworks.InterWOrks.org



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