Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F140057234
D50914.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
473 B
Referenced Files
None
Subscribers
None
D50914.diff
View Options
diff --git a/sys/net/if_vlan.c b/sys/net/if_vlan.c
--- a/sys/net/if_vlan.c
+++ b/sys/net/if_vlan.c
@@ -1177,10 +1177,10 @@
ifp->if_ratelimit_query = vlan_ratelimit_query;
#endif
ifp->if_flags = VLAN_IFFLAGS;
+ ifp->if_type = IFT_L2VLAN;
ether_ifattach(ifp, eaddr);
/* Now undo some of the damage... */
ifp->if_baudrate = 0;
- ifp->if_type = IFT_L2VLAN;
ifp->if_hdrlen = ETHER_VLAN_ENCAP_LEN;
ifa = ifp->if_addr;
sdl = (struct sockaddr_dl *)ifa->ifa_addr;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Dec 20, 3:58 PM (15 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27098597
Default Alt Text
D50914.diff (473 B)
Attached To
Mode
D50914: if_vlan: Fix up the if_type prior to attaching the interface
Attached
Detach File
Event Timeline
Log In to Comment