From owner-freebsd-net@FreeBSD.ORG Mon Jun 9 10:01:21 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 86D8837B401 for ; Mon, 9 Jun 2003 10:01:21 -0700 (PDT) Received: from tiamat.astral-on.net (tiamat.astral-on.net [193.41.4.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA13C43F75 for ; Mon, 9 Jun 2003 10:01:18 -0700 (PDT) (envelope-from ad@odin.astral-on.net) Received: from odin.astral-on.net (odin.astral-on.net [193.41.4.6]) by tiamat.astral-on.net (8.12.9/8.12.8) with ESMTP id h59H1ETg063678; Mon, 9 Jun 2003 20:01:14 +0300 (EEST) Received: (from ad@localhost) by odin.astral-on.net (8.11.6/8.11.6) id h59H1Cc46608; Mon, 9 Jun 2003 20:01:12 +0300 (EEST) (envelope-from ad) Date: Mon, 9 Jun 2003 20:01:12 +0300 From: Andrew Degtiariov To: Maxim Konovalov Message-ID: <20030609170111.GF37504@astral-on.net> References: <20030609142309.GB37504@astral-on.net> <20030609201828.L95896@news1.macomnet.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030609201828.L95896@news1.macomnet.ru> User-Agent: Mutt/1.3.28i cc: freebsd-net@freebsd.org Subject: Re: Problem with bridge 802.1q frames X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ad@astral-on.net List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jun 2003 17:01:21 -0000 On Mon, Jun 09, 2003 at 08:19:43PM +0400, Maxim Konovalov wrote: > Try this hack and let me know if it works for you. Thanks! > > Index: if_ethersubr.c > =================================================================== > RCS file: /home/ncvs/src/sys/net/if_ethersubr.c,v > retrieving revision 1.147 > diff -u -r1.147 if_ethersubr.c > --- if_ethersubr.c 5 May 2003 09:15:50 -0000 1.147 > +++ if_ethersubr.c 20 May 2003 15:06:50 -0000 > @@ -625,6 +625,7 @@ > if (rule) /* packet was already bridged */ > goto post_stats; > > +#if 0 > if (!(BDG_ACTIVE(ifp))) { > /* > * Discard packet if upper layers shouldn't see it because it > @@ -641,6 +642,7 @@ > return; > } > } > +#endif > > /* Discard packet if interface is not up */ > if ((ifp->if_flags & IFF_UP) == 0) { > %%% > Thank you. It's worked. -- Andrew Degtiariov AD5898-RIPE