svn commit: r233112 - stable/8/sys/netinet6

Hiroki Sato hrs at FreeBSD.org
Sun Mar 18 10:45:37 UTC 2012


Author: hrs
Date: Sun Mar 18 10:45:36 2012
New Revision: 233112
URL: http://svn.freebsd.org/changeset/base/233112

Log:
  MFC r216650:
  
  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.

Modified:
  stable/8/sys/netinet6/in6_ifattach.c
Directory Properties:
  stable/8/sys/   (props changed)

Modified: stable/8/sys/netinet6/in6_ifattach.c
==============================================================================
--- stable/8/sys/netinet6/in6_ifattach.c	Sun Mar 18 09:52:54 2012	(r233111)
+++ stable/8/sys/netinet6/in6_ifattach.c	Sun Mar 18 10:45:36 2012	(r233112)
@@ -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:


More information about the svn-src-stable-8 mailing list