Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Mar 1999 15:10:01 -0800 (PST)
From:      Nick Sayer <nsayer@quack.kfu.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/10534: if_tx.c bridge patch
Message-ID:  <199903262310.PAA08709@freefall.freebsd.org>

index | next in thread | raw e-mail

The following reply was made to PR kern/10534; it has been noted by GNATS.

From: Nick Sayer <nsayer@quack.kfu.com>
To: freebsd-gnats-submit@freebsd.org
Cc:  
Subject: Re: kern/10534: if_tx.c bridge patch
Date: Fri, 26 Mar 1999 15:02:59 -0800 (PST)

 In retrospect, change this line in the patch
 
 +#if NBPFILTER > 0 && !defined(BRIDGE)
 
 to
 
 #if NBPFILTER > 0
 
 You want this because you still want to run the check indicated
 regardless of the state of do_bridge. But it doesn't have to be
 there if bpfilter is off (because do_bridge will then turn
 promiscuous mode on or off as appropriate). It does need to be
 there if bpfilter is on because do_bridge could be off and
 promiscuous mode could still be on (because of bpfilter).
 
 


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



help

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