diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2016-04-01 04:03:36 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2016-04-01 04:03:36 +0000 |
commit | 1a976ba95236fa3dd7fcd5638b0dbae782950d6a (patch) | |
tree | 02e932ac30797d6f1dd300c080138d0544bb85de /sys/net/if_ethersubr.c | |
parent | 01b92d477be6f8395f38e5734578deaa0a5693a7 (diff) |
Building kernels with PPPOE_SERVER enabled has been broken for at least
eleven years, remove it.
Despite what the wildly outdated time(9) claims, there is no longer
globally visible "struct timeval mono_time" or "struct timeval time".
ok mpi@ sthen@ mikeb@
Diffstat (limited to 'sys/net/if_ethersubr.c')
-rw-r--r-- | sys/net/if_ethersubr.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/net/if_ethersubr.c b/sys/net/if_ethersubr.c index 362bca2203f..eeb488122b3 100644 --- a/sys/net/if_ethersubr.c +++ b/sys/net/if_ethersubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ethersubr.c,v 1.234 2016/03/01 01:48:14 dlg Exp $ */ +/* $OpenBSD: if_ethersubr.c,v 1.235 2016/04/01 04:03:35 jsg Exp $ */ /* $NetBSD: if_ethersubr.c,v 1.19 1996/05/07 02:40:30 thorpej Exp $ */ /* @@ -392,10 +392,8 @@ decapsulate: #if NPPPOE > 0 || defined(PIPEX) case ETHERTYPE_PPPOEDISC: case ETHERTYPE_PPPOE: -#ifndef PPPOE_SERVER if (m->m_flags & (M_MCAST | M_BCAST)) goto dropanyway; -#endif M_PREPEND(m, sizeof(*eh), M_DONTWAIT); if (m == NULL) return (1); |