diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2014-06-07 11:04:15 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2014-06-07 11:04:15 +0000 |
commit | 6699964c604c1341b4cc527173dd039faed62d33 (patch) | |
tree | 65a8697109b8a655485bf5fbfdacf6643267d865 /sys/net/if.c | |
parent | 7a9e9e0a8d6f0179ddc6b00653bb9db02e807941 (diff) |
g/c unused IFT_L2VLAN, ok reyk bluhm
the #define stays since it's userland visible and who knows what uses it
Diffstat (limited to 'sys/net/if.c')
-rw-r--r-- | sys/net/if.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/net/if.c b/sys/net/if.c index 32385b40352..8b06554355e 100644 --- a/sys/net/if.c +++ b/sys/net/if.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if.c,v 1.289 2014/05/16 08:21:54 mpi Exp $ */ +/* $OpenBSD: if.c,v 1.290 2014/06/07 11:04:14 henning Exp $ */ /* $NetBSD: if.c,v 1.35 1996/05/07 05:26:04 thorpej Exp $ */ /* @@ -1608,7 +1608,6 @@ ifioctl(struct socket *so, u_long cmd, caddr_t data, struct proc *p) case IFT_CARP: case IFT_XETHER: case IFT_ISO88025: - case IFT_L2VLAN: bcopy((caddr_t)ifr->ifr_addr.sa_data, (caddr_t)((struct arpcom *)ifp)->ac_enaddr, ETHER_ADDR_LEN); |