summaryrefslogtreecommitdiff
path: root/sys/net/if_pppoe.c
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2014-06-07 11:04:15 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2014-06-07 11:04:15 +0000
commit6699964c604c1341b4cc527173dd039faed62d33 (patch)
tree65a8697109b8a655485bf5fbfdacf6643267d865 /sys/net/if_pppoe.c
parent7a9e9e0a8d6f0179ddc6b00653bb9db02e807941 (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_pppoe.c')
-rw-r--r--sys/net/if_pppoe.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/net/if_pppoe.c b/sys/net/if_pppoe.c
index 54a3ec8ee62..da5341d5256 100644
--- a/sys/net/if_pppoe.c
+++ b/sys/net/if_pppoe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_pppoe.c,v 1.38 2014/04/14 09:06:42 mpi Exp $ */
+/* $OpenBSD: if_pppoe.c,v 1.39 2014/06/07 11:04:14 henning Exp $ */
/* $NetBSD: if_pppoe.c,v 1.51 2003/11/28 08:56:48 keihan Exp $ */
/*
@@ -924,9 +924,7 @@ pppoe_ioctl(struct ifnet *ifp, unsigned long cmd, caddr_t data)
struct ifnet *eth_if;
eth_if = ifunit(parms->eth_ifname);
- if (eth_if == NULL ||
- (eth_if->if_type != IFT_ETHER &&
- eth_if->if_type != IFT_L2VLAN)) {
+ if (eth_if == NULL || eth_if->if_type != IFT_ETHER) {
sc->sc_eth_if = NULL;
return (ENXIO);
}