diff options
author | Gerald Combs <gerald@wireshark.org> | 2010-06-03 00:42:21 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2010-06-03 00:42:21 +0000 |
commit | e1a9e4e84f72368a970b8bd9d5ebb7ccf5b4d2d8 (patch) | |
tree | 1c85c6cdeab53584383ee42418027817ad293180 /doc/rawshark.pod | |
parent | 6aa673baa6c5828cea6314079a7f382b5024c6bb (diff) |
From Reinhard Speyerer via bug 4779:
From reading the rawshark(1) manpage my assumption was that rawshark
could be used like
$ /usr/bml/bin/rawshark -s -r test.pcap -d encap:EN10MB ...
However rawshark either expects the -r argument to be -
(read from stdin) or a pipe which results in the following error
message:
rawshark: ".../test.pcap" is neither an interface nor a pipe
The proposed rawshark.pod patch updates the -r description to
the implemented rawshark functionality.
The patch also applies to the current SVN version.
svn path=/trunk/; revision=33063
Diffstat (limited to 'doc/rawshark.pod')
-rw-r--r-- | doc/rawshark.pod | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/rawshark.pod b/doc/rawshark.pod index c97dcb4f1d..6981fc172a 100644 --- a/doc/rawshark.pod +++ b/doc/rawshark.pod @@ -13,7 +13,7 @@ S<[ B<-l> ]> S<[ B<-n> ]> S<[ B<-N> E<lt>name resolving flagsE<gt> ]> S<[ B<-o> E<lt>preference settingE<gt> ] ...> -S<[ B<-r> E<lt>infile or pipeE<gt> ]> +S<[ B<-r> E<lt>pipeE<gt>|- ]> S<[ B<-R> E<lt>read (display) filterE<gt> ]> S<[ B<-s> ]> S<[ B<-S> E<lt>field formatE<gt> ]> @@ -156,10 +156,11 @@ form I<prefname>B<:>I<value>, where I<prefname> is the name of the preference (which is the same name that would appear in the preference file), and I<value> is the value to which it should be set. -=item -r E<lt>input file or pipeE<gt> +=item -r E<lt>pipeE<gt>|- -Read packet data from I<input source>. It can be a regular file or pipe, -and must be have the record format specified above. +Read packet data from I<input source>. It can be either the name of a FIFO +(named pipe) or ``-'' to read data from the standard input, and must have +the record format specified above. =item -R E<lt>read (display) filterE<gt> |