Date: Sun, 23 Oct 2005 20:35:02 +0000 From: "Christian S.J. Peron" <csjp@FreeBSD.org> To: Gleb Smirnoff <glebius@FreeBSD.org> Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/net if_mib.c Message-ID: <20051023203502.GA21142@freefall.freebsd.org> In-Reply-To: <20051023152934.GA88701@freefall.freebsd.org> References: <200510230144.j9N1i86a057613@repoman.freebsd.org> <20051023071141.GS59364@cell.sick.ru> <20051023152934.GA88701@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Oct 23, 2005 at 03:29:34PM +0000, Christian S.J. Peron wrote: > On Sun, Oct 23, 2005 at 11:11:41AM +0400, Gleb Smirnoff wrote: > > > > Does this fix that bsnmpd reports all interfaces as "operatinally down" > > after the if_drv_flags was introduced? > > > > Nope, but this should: > > http://people.freebsd.org/~csjp/mibII_interfaces.c.1130030000.diff > > I am just waiting for harti to give me the green light. > Sorry, I probably should have clarified: (1) Yes, this does fix the issue of interfaces being reported as operationally down by bsnmpd. As the RUNNING mask was not being set by the kernel before it was returned to userspace. (2) However, RUNNING flags are not synonomous with the devices being up, so the patch listed above changes bsnmpd to check link status instead of checking the RUNNING mask. -- Christian S.J. Peron csjp@FreeBSD.ORG FreeBSD Committer FreeBSD Security Team
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051023203502.GA21142>