diff options
-rw-r--r-- | sys/net/if_vlan.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/sys/net/if_vlan.c b/sys/net/if_vlan.c index f86ca4e506f..669f10368b3 100644 --- a/sys/net/if_vlan.c +++ b/sys/net/if_vlan.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_vlan.c,v 1.149 2015/12/05 10:07:55 tedu Exp $ */ +/* $OpenBSD: if_vlan.c,v 1.150 2015/12/08 11:35:42 dlg Exp $ */ /* * Copyright 1998 Massachusetts Institute of Technology @@ -599,16 +599,6 @@ vlan_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data) error = EINVAL; break; - case SIOCGIFADDR: - { - struct sockaddr *sa; - - sa = (struct sockaddr *)&ifr->ifr_data; - bcopy(((struct arpcom *)ifp->if_softc)->ac_enaddr, - (caddr_t) sa->sa_data, ETHER_ADDR_LEN); - } - break; - case SIOCSIFMTU: if (ifv->ifv_p != NULL) { if (ifr->ifr_mtu < ETHERMIN || |