diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-01-23 09:04:54 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-01-23 09:04:54 +0000 |
commit | 5b1484f7b3e245f9d21d4702efbb201f02f72f48 (patch) | |
tree | 0d56508b9485cfe126c860f4672f06352aa07716 /capture.c | |
parent | 7ab511a7d7bd6bdd80f12e5b5e23f3626e800c8b (diff) |
From a look at the Linux ARCNET code, it appears that no frame delivered
to the networking stack will have an exception frame header.
Note, however, that on the BSD's ARCNET might be a bit of a mess.
svn path=/trunk/; revision=6986
Diffstat (limited to 'capture.c')
-rw-r--r-- | capture.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,7 +1,7 @@ /* capture.c * Routines for packet capture windows * - * $Id: capture.c,v 1.204 2003/01/23 06:57:35 guy Exp $ + * $Id: capture.c,v 1.205 2003/01/23 09:04:54 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -2253,10 +2253,10 @@ capture_pcap_cb(guchar *user, const struct pcap_pkthdr *phdr, capture_ipfc(pd, whdr.caplen, &ld->counts); break; case WTAP_ENCAP_ARCNET: - capture_arcnet(pd, whdr.caplen, &ld->counts, FALSE); + capture_arcnet(pd, whdr.caplen, &ld->counts, FALSE, TRUE); break; case WTAP_ENCAP_ARCNET_LINUX: - capture_arcnet(pd, whdr.caplen, &ld->counts, TRUE); + capture_arcnet(pd, whdr.caplen, &ld->counts, TRUE, FALSE); break; /* XXX - some ATM drivers on FreeBSD might prepend a 4-byte ATM pseudo-header to DLT_ATM_RFC1483, with LLC header following; |