diff options
author | Guy Harris <guy@alum.mit.edu> | 1999-09-23 05:00:59 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 1999-09-23 05:00:59 +0000 |
commit | 5e0274153e19b555aa8182e652f5a45d03a06ad0 (patch) | |
tree | 93f269a67ac51391fc802e1113c1891df594a105 /packet-snmp.c | |
parent | 39ba76783b96f2889ff8c4046231bfd758e0e318 (diff) |
When reading a capture file, we can detect whether it's compressed or
not, so it's OK to use "zlib" to read capture files, as it handles
uncompressed files correctly.
When *writing* capture files, however, we can't detect automatically
whether the user wanted to write the file out as a compressed file or
not, so we should *NOT* use "zlib" until we add a flag to the API
specifying whether to write the file out as a compressed file or not.
Furthermore, the code in Ethereal that implements the "-S" flag depends
on being able to get the "FILE *" for a capture file being written, so
that it can "fflush()" it.
svn path=/trunk/; revision=703
Diffstat (limited to 'packet-snmp.c')
0 files changed, 0 insertions, 0 deletions