cos the stack can do it for it.

ok?

Index: if_vlan.c
===================================================================
RCS file: /cvs/src/sys/net/if_vlan.c,v
retrieving revision 1.149
diff -u -p -r1.149 if_vlan.c
--- if_vlan.c   5 Dec 2015 10:07:55 -0000       1.149
+++ if_vlan.c   8 Dec 2015 01:00:01 -0000
@@ -599,16 +599,6 @@ vlan_ioctl(struct ifnet *ifp, u_long cmd
                        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 ||

Reply via email to