Problem with bridge 802.1q frames
Andrew Degtiariov
ad at astral-on.net
Mon Jun 9 10:01:21 PDT 2003
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
More information about the freebsd-net
mailing list