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:
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to