Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Dec 2010 11:58:31 +0000 (UTC)
From:      John Hay <jhay@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r216650 - head/sys/netinet6
Message-ID:  <201012221158.oBMBwV6j010093@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhay
Date: Wed Dec 22 11:58:31 2010
New Revision: 216650
URL: http://svn.freebsd.org/changeset/base/216650

Log:
  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

Modified:
  head/sys/netinet6/in6_ifattach.c

Modified: head/sys/netinet6/in6_ifattach.c
==============================================================================
--- head/sys/netinet6/in6_ifattach.c	Wed Dec 22 09:02:22 2010	(r216649)
+++ head/sys/netinet6/in6_ifattach.c	Wed Dec 22 11:58:31 2010	(r216650)
@@ -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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012221158.oBMBwV6j010093>