summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/net/if_vlan.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/net/if_vlan.c b/sys/net/if_vlan.c
index 53b1457c7b6..e4f065eb590 100644
--- a/sys/net/if_vlan.c
+++ b/sys/net/if_vlan.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_vlan.c,v 1.25 2001/08/03 23:21:19 chris Exp $ */
+/* $OpenBSD: if_vlan.c,v 1.26 2001/09/01 00:50:49 chris Exp $ */
/*
* Copyright 1998 Massachusetts Institute of Technology
*
@@ -464,6 +464,12 @@ vlan_config(struct ifvlan *ifv, struct ifnet *p)
ifv->ifv_if.if_type = p->if_type;
/*
+ * Inherit baudrate from the parent. An SNMP agent would use this
+ * information.
+ */
+ ifv->ifv_if.if_baudrate = p->if_baudrate;
+
+ /*
* If the parent interface can do hardware-assisted
* VLAN encapsulation, then propagate its hardware-
* assisted checksumming flags.