summaryrefslogtreecommitdiffstats
path: root/sys/dev/de
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1994-11-24 14:29:38 +0000
committerdg <dg@FreeBSD.org>1994-11-24 14:29:38 +0000
commit68acac5e7669e7382032efb3be686d7d31127ff7 (patch)
treef24c94cbed7412ca371d1f76bc07b9dfdcdbc432 /sys/dev/de
parent72223a20dbcc102ebb53c5b477fb878dadf67674 (diff)
downloadFreeBSD-src-68acac5e7669e7382032efb3be686d7d31127ff7.zip
FreeBSD-src-68acac5e7669e7382032efb3be686d7d31127ff7.tar.gz
Moved conversion of ether_type to host byte order out of ethernet drivers
and into ether_input(). It was silly to have bpf want this one way and ether_input want it another way. Ripped out trailer support from the few remaining drivers that still had it.
Diffstat (limited to 'sys/dev/de')
-rw-r--r--sys/dev/de/if_de.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/de/if_de.c b/sys/dev/de/if_de.c
index 9e6a26b..c2be075 100644
--- a/sys/dev/de/if_de.c
+++ b/sys/dev/de/if_de.c
@@ -21,7 +21,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: if_de.c,v 1.6 1994/11/13 12:39:38 davidg Exp $
+ * $Id: if_de.c,v 1.7 1994/11/22 09:47:31 davidg Exp $
*
*/
@@ -394,7 +394,6 @@ tulip_rx_intr(
}
#endif
eh = *(struct ether_header *) bufaddr;
- eh.ether_type = ntohs(eh.ether_type);
#if NBPFILTER > 0
if (sc->tulip_bpf != NULL) {
bpf_tap(sc->tulip_bpf, bufaddr, total_len);
OpenPOWER on IntegriCloud