diff options
author | dg <dg@FreeBSD.org> | 1994-11-24 14:29:38 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1994-11-24 14:29:38 +0000 |
commit | 68acac5e7669e7382032efb3be686d7d31127ff7 (patch) | |
tree | f24c94cbed7412ca371d1f76bc07b9dfdcdbc432 /sys/dev/lnc | |
parent | 72223a20dbcc102ebb53c5b477fb878dadf67674 (diff) | |
download | FreeBSD-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/lnc')
-rw-r--r-- | sys/dev/lnc/if_lnc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/lnc/if_lnc.c b/sys/dev/lnc/if_lnc.c index ae3dd1c..311f3bd 100644 --- a/sys/dev/lnc/if_lnc.c +++ b/sys/dev/lnc/if_lnc.c @@ -454,7 +454,6 @@ lnc_rint(int unit) head->m_pkthdr.rcvif = &sc->arpcom.ac_if; head->m_pkthdr.len = pkt_len - sizeof(*eh); eh = (struct ether_header *) head->m_data; - eh->ether_type = ntohs(eh->ether_type); head->m_data += sizeof *eh; head->m_len -= sizeof *eh; |