Ethernet vlan(4) interfaces have valid Ethernet link layer
addresses but use a different interface type (IFT_L2VLAN vs
IFT_ETHER). Treat IFT_L2VLAN interfaces like IFT_ETHER
interfaces when handling link layer addresses.

>From FreeBSD


Index: ipv6cp.c
===================================================================
RCS file: /home/cvs/src/usr.sbin/ppp/ppp/ipv6cp.c,v
retrieving revision 1.10
diff -u -p -r1.10 ipv6cp.c
--- ipv6cp.c    7 Aug 2008 19:26:57 -0000       1.10
+++ ipv6cp.c    6 Feb 2011 07:29:30 -0000
@@ -148,6 +148,7 @@ SetInterfaceID(u_char *ifid, int userand
     switch(sdl->sdl_type) {
     case IFT_ETHER:
     case IFT_FDDI:
+    case IFT_L2VLAN:
       /* XXX need more cases? */
       break;
     default:

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

Reply via email to