summaryrefslogtreecommitdiffstats
path: root/sys/net/if_vlan_var.h
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2001-04-04 15:10:58 +0000
committeryar <yar@FreeBSD.org>2001-04-04 15:10:58 +0000
commitadae17d5bf48546669c88a8a76d86d7655975e3c (patch)
tree6761981ab9a1287ff9386680814c05d3b9161931 /sys/net/if_vlan_var.h
parent3750cde6a8a833ee5ed5d9ec16c64e7e24f0b943 (diff)
downloadFreeBSD-src-adae17d5bf48546669c88a8a76d86d7655975e3c.zip
FreeBSD-src-adae17d5bf48546669c88a8a76d86d7655975e3c.tar.gz
Change the type of the VLAN interface from IFT_PROPVIRTUAL,
which was a temporary hack, to IFT_L2VLAN, which is the type assigned by IANA.
Diffstat (limited to 'sys/net/if_vlan_var.h')
-rw-r--r--sys/net/if_vlan_var.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_vlan_var.h b/sys/net/if_vlan_var.h
index 8fbe10c..cdb67bc 100644
--- a/sys/net/if_vlan_var.h
+++ b/sys/net/if_vlan_var.h
@@ -64,8 +64,8 @@ struct ether_vlan_header {
#define EVL_PRIOFTAG(tag) (((tag) >> 13) & 7)
#define EVL_ENCAPLEN 4 /* length in octets of encapsulation */
-/* When these sorts of interfaces get their own identifier... */
-#define IFT_8021_VLAN IFT_PROPVIRTUAL
+/* These sorts of interfaces got their own identifier from IANA */
+#define IFT_8021_VLAN IFT_L2VLAN
/* sysctl(3) tags, for compatibility purposes */
#define VLANCTL_PROTO 1
OpenPOWER on IntegriCloud