Add IFT_L2VLAN to the list that is capable of supplying the ingredients

of the EUI64 part of an IPv6 address. Otherwise vlans will all use the
MAC address of the first ethernet interface of the system.

MFC after:	1 week
This commit is contained in:
John Hay 2010-12-22 11:58:31 +00:00
parent 0126aea6ad
commit e9a23b5585
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=216650

View File

@ -267,6 +267,7 @@ in6_get_hw_ifid(struct ifnet *ifp, struct in6_addr *in6)
/* get EUI64 */
switch (ifp->if_type) {
case IFT_ETHER:
case IFT_L2VLAN:
case IFT_FDDI:
case IFT_ISO88025:
case IFT_ATM: