diff options
author | Guy Harris <guy@alum.mit.edu> | 1999-08-10 07:16:47 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 1999-08-10 07:16:47 +0000 |
commit | 8eb998e3600cbb1bcf76e64d42baca1eb9d66d46 (patch) | |
tree | 2a160810c80b8a18d317238edf220c323ae0ef1c /doc | |
parent | 7ec128ccb261ed3c1b59bd4866c0f69d3e19117d (diff) | |
download | wireshark-8eb998e3600cbb1bcf76e64d42baca1eb9d66d46.tar.gz wireshark-8eb998e3600cbb1bcf76e64d42baca1eb9d66d46.tar.bz2 wireshark-8eb998e3600cbb1bcf76e64d42baca1eb9d66d46.zip |
Add the ability to specify a filter to be used when reading the file to
the "Open File" dialog box (the "Open File" dialog box equivalent of the
"-R" flag). Have "load_cap_file()" take the filter expression as an
argument, and make the global "rfilter" into a member of a
"capture_file" structure.
When reading a temporary capture file after a live capture, don't apply
any filter.
Move the code that pops up error boxes on file opens when reading a
capture file back to "load_cap_file()"; it also pops up error boxes if
the filter expression can't be parsed.
Don't enable "File/Save" or "File/Save As..." if an attempt to read a
capture file fails - if there was already an open capture file, it was
closed by "load_cap_file()", so we no longer have an open file to save.
svn path=/trunk/; revision=460
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ethereal.pod.template | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/ethereal.pod.template b/doc/ethereal.pod.template index e382783a7c..ff5df6327d 100644 --- a/doc/ethereal.pod.template +++ b/doc/ethereal.pod.template @@ -121,7 +121,7 @@ Reads packet data from I<file>. =item -R Causes the specified filter (which uses the syntax of display filters, -rather than that of capture filters) to be applied, when a packet file +rather than that of capture filters) to be applied, when a capture file is read, to all packets read from the capture file; packets not matching the filter are discarded. @@ -169,7 +169,10 @@ Sets the default capture file name. =item File:Open, File:Close, File:Reload -Open, close, or reload a capture file. +Open, close, or reload a capture file. The I<File:Open> dialog box +allows a filter to be specified; when the capture file is read, the +filter is applied to all packets read from the file, and packets not +matching the filter are discarded. =item File:Print |