diff options
author | jhb <jhb@FreeBSD.org> | 2010-08-06 15:09:21 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2010-08-06 15:09:21 +0000 |
commit | 7909344bdf3f86ce88f5a00d727704861218adc9 (patch) | |
tree | 11983ee2e4b7413b7f213d4bf31d6ee03d26fe01 /usr.sbin/ppp | |
parent | 1e529a8eb9b20ba8d3270b4f13b348620eaa00a1 (diff) | |
download | FreeBSD-src-7909344bdf3f86ce88f5a00d727704861218adc9.zip FreeBSD-src-7909344bdf3f86ce88f5a00d727704861218adc9.tar.gz |
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.
Reviewed by: syrinx (bsnmpd)
MFC after: 1 week
Diffstat (limited to 'usr.sbin/ppp')
-rw-r--r-- | usr.sbin/ppp/ipv6cp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/ppp/ipv6cp.c b/usr.sbin/ppp/ipv6cp.c index 4557188..72c3b9a 100644 --- a/usr.sbin/ppp/ipv6cp.c +++ b/usr.sbin/ppp/ipv6cp.c @@ -148,6 +148,7 @@ SetInterfaceID(u_char *ifid, int userandom) switch(sdl->sdl_type) { case IFT_ETHER: case IFT_FDDI: + case IFT_L2VLAN: /* XXX need more cases? */ break; default: |