* Henning Brauer <[EMAIL PROTECTED]> [2006-04-10 15:56]:
> while playing with this I noticed vlan does not correctly inherit 
> baudrate from the parent interface tho :)

argh, botched the diff

Index: if_vlan.c
===================================================================
RCS file: /cvs/src/sys/net/if_vlan.c,v
retrieving revision 1.65
diff -u -p -r1.65 if_vlan.c
--- if_vlan.c   25 Mar 2006 22:41:48 -0000      1.65
+++ if_vlan.c   10 Apr 2006 14:01:44 -0000
@@ -474,6 +474,7 @@ vlan_vlandev_state(void *v)
                return;
 
        ifv->ifv_if.if_link_state = ifv->ifv_p->if_link_state;
+       ifv->ifv_if.if_baudrate = ifv->ifv_p->if_baudrate;
        if_link_state_change(&ifv->ifv_if);
 }

Reply via email to