Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107325901
D41717.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
599 B
Referenced Files
None
Subscribers
None
D41717.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
@@ -1106,11 +1106,8 @@
return error;
vid = vlr.vlr_tag;
proto = vlr.vlr_proto;
-
-#ifdef COMPAT_FREEBSD12
if (proto == 0)
proto = ETHERTYPE_VLAN;
-#endif
p = ifunit_ref(vlr.vlr_parent);
if (p == NULL)
return (ENXIO);
@@ -2262,10 +2259,8 @@
error = ENOENT;
break;
}
-#ifdef COMPAT_FREEBSD12
if (vlr.vlr_proto == 0)
vlr.vlr_proto = ETHERTYPE_VLAN;
-#endif
oldmtu = ifp->if_mtu;
error = vlan_config(ifv, p, vlr.vlr_tag, vlr.vlr_proto);
if_rele(p);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jan 13, 12:59 PM (21 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15782271
Default Alt Text
D41717.diff (599 B)
Attached To
Mode
D41717: if_vlan: Always default to 802.1q.
Attached
Detach File
Event Timeline
Log In to Comment