Yar Tikhiy writes:
> I'd suggest the following fix. Not sure if it should be pushed
> into the upcoming 4.4-RELEASE...
>
> Index: ng_ether.c
> ===================================================================
> RCS file: /home/ncvs/src/sys/netgraph/ng_ether.c,v
> retrieving revision 1.18
> diff -u -r1.18 ng_ether.c
> --- ng_ether.c 2001/01/30 20:51:52 1.18
> +++ ng_ether.c 2001/08/30 15:33:24
> @@ -798,7 +798,8 @@
>
> /* Create nodes for any already-existing Ethernet interfaces */
> TAILQ_FOREACH(ifp, &ifnet, if_link) {
> - if (ifp->if_type == IFT_ETHER)
> + if (ifp->if_type == IFT_ETHER ||
> + ifp->if_type == IFT_L2VLAN)
> ng_ether_attach(ifp);
> }
> break;
Yes, this is the correct fix .. nice and simple :-)
Definitely a MFC candidate.
-Archie
__________________________________________________________________________
Archie Cobbs * Packet Design * http://www.packetdesign.com
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message