summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2010-10-11 11:31:15 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2010-10-11 11:31:15 +0000
commitcf755931cdd73183d6abfd2c4af6ace6e369507e (patch)
tree1d85d44d45343779b486a46dfa846aa53b2b019a
parentd0f60a5e9bdb1cef7bf2611328eedf00a967c409 (diff)
Remove some commented code we will never have.
-rw-r--r--sys/net/if_ethersubr.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/sys/net/if_ethersubr.c b/sys/net/if_ethersubr.c
index eb26a3d03c6..081221be062 100644
--- a/sys/net/if_ethersubr.c
+++ b/sys/net/if_ethersubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ethersubr.c,v 1.146 2010/08/24 14:43:56 blambert Exp $ */
+/* $OpenBSD: if_ethersubr.c,v 1.147 2010/10/11 11:31:14 claudio Exp $ */
/* $NetBSD: if_ethersubr.c,v 1.19 1996/05/07 02:40:30 thorpej Exp $ */
/*
@@ -737,13 +737,6 @@ decapsulate:
#if NPPPOE > 0 || defined(PIPEX)
case ETHERTYPE_PPPOEDISC:
case ETHERTYPE_PPPOE:
- /* XXX we dont have this flag */
- /*
- if (m->m_flags & M_PROMISC) {
- m_freem(m);
- goto done;
- }
- */
#ifndef PPPOE_SERVER
if (m->m_flags & (M_MCAST | M_BCAST)) {
m_freem(m);
@@ -773,7 +766,7 @@ decapsulate:
schednetisr(NETISR_PPPOE);
break;
-#endif /* NPPPOE > 0 || defined(PIPEX) */
+#endif
#ifdef AOE
case ETHERTYPE_AOE:
aoe_input(ifp, m);