diff options
author | jhay <jhay@FreeBSD.org> | 2010-12-22 11:58:31 +0000 |
---|---|---|
committer | jhay <jhay@FreeBSD.org> | 2010-12-22 11:58:31 +0000 |
commit | 1f7a05a1efa7cc7aef0a9d77b9590ce251d821c8 (patch) | |
tree | 862fe63ef09f7056795e19c350be3883ed1fb8d4 | |
parent | 72cc2acc23d6dfab690b215d09ddfd3613a54888 (diff) | |
download | FreeBSD-src-1f7a05a1efa7cc7aef0a9d77b9590ce251d821c8.zip FreeBSD-src-1f7a05a1efa7cc7aef0a9d77b9590ce251d821c8.tar.gz |
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
-rw-r--r-- | sys/netinet6/in6_ifattach.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet6/in6_ifattach.c b/sys/netinet6/in6_ifattach.c index 363d7be..2ff7455 100644 --- a/sys/netinet6/in6_ifattach.c +++ b/sys/netinet6/in6_ifattach.c @@ -267,6 +267,7 @@ found: /* get EUI64 */ switch (ifp->if_type) { case IFT_ETHER: + case IFT_L2VLAN: case IFT_FDDI: case IFT_ISO88025: case IFT_ATM: |