summaryrefslogtreecommitdiffstats
path: root/sys/net/if.c
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2001-04-04 15:10:58 +0000
committeryar <yar@FreeBSD.org>2001-04-04 15:10:58 +0000
commitadae17d5bf48546669c88a8a76d86d7655975e3c (patch)
tree6761981ab9a1287ff9386680814c05d3b9161931 /sys/net/if.c
parent3750cde6a8a833ee5ed5d9ec16c64e7e24f0b943 (diff)
downloadFreeBSD-src-adae17d5bf48546669c88a8a76d86d7655975e3c.zip
FreeBSD-src-adae17d5bf48546669c88a8a76d86d7655975e3c.tar.gz
Change the type of the VLAN interface from IFT_PROPVIRTUAL,
which was a temporary hack, to IFT_L2VLAN, which is the type assigned by IANA.
Diffstat (limited to 'sys/net/if.c')
-rw-r--r--sys/net/if.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if.c b/sys/net/if.c
index 08c4a1f2..3e0cf0e 100644
--- a/sys/net/if.c
+++ b/sys/net/if.c
@@ -1357,7 +1357,7 @@ if_setlladdr(struct ifnet *ifp, const u_char *lladdr, int len)
case IFT_FDDI:
case IFT_XETHER:
case IFT_ISO88025:
- case IFT_PROPVIRTUAL: /* XXX waiting for IFT_8021_VLAN */
+ case IFT_L2VLAN:
bcopy(lladdr, ((struct arpcom *)ifp->if_softc)->ac_enaddr, len);
bcopy(lladdr, LLADDR(sdl), len);
break;
OpenPOWER on IntegriCloud