Date: Mon, 9 Jun 2003 20:01:12 +0300 From: Andrew Degtiariov <ad@astral-on.net> To: Maxim Konovalov <maxim@macomnet.ru> Cc: freebsd-net@freebsd.org Subject: Re: Problem with bridge 802.1q frames Message-ID: <20030609170111.GF37504@astral-on.net> In-Reply-To: <20030609201828.L95896@news1.macomnet.ru> References: <20030609142309.GB37504@astral-on.net> <20030609201828.L95896@news1.macomnet.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030609170111.GF37504>
