diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-01-10 04:04:42 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-01-10 04:04:42 +0000 |
commit | 50e696df812a10e47bb6c2b132728b826ca82a60 (patch) | |
tree | 7e5ca309b08cac82b6faa42f0296a645c4273940 /wiretap/libpcap.c | |
parent | 6b49b2475cae484188cf4d3b216c5271183d157c (diff) |
The Sniffer file formats include a file to identify raw cells; export
that flag in the ATM pseudo-header, and use it to determine whether a
frame is a raw cell or a reassembled frame, rather than using the AAL,
as you can have raw AAL5 cells in a capture.
svn path=/trunk/; revision=6889
Diffstat (limited to 'wiretap/libpcap.c')
-rw-r--r-- | wiretap/libpcap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/wiretap/libpcap.c b/wiretap/libpcap.c index 59054904fc..a9c7d8ac9e 100644 --- a/wiretap/libpcap.c +++ b/wiretap/libpcap.c @@ -1,6 +1,6 @@ /* libpcap.c * - * $Id: libpcap.c,v 1.89 2003/01/09 01:55:12 guy Exp $ + * $Id: libpcap.c,v 1.90 2003/01/10 04:04:41 guy Exp $ * * Wiretap Library * Copyright (c) 1998 by Gilbert Ramirez <gram@alumni.rice.edu> @@ -1161,6 +1161,7 @@ libpcap_get_atm_pseudoheader(const struct sunatm_hdr *atm_phdr, pseudo_header->atm.channel = (atm_phdr->flags & 0x80) ? 0 : 1; /* We don't have this information */ + pseudo_header->atm.flags = 0; pseudo_header->atm.cells = 0; pseudo_header->atm.aal5t_u2u = 0; pseudo_header->atm.aal5t_len = 0; |