Bug 60401

Summary: small typo/error in tcpdump(1)
Product: Documentation Reporter: Gleb Smirnoff <glebius>
Component: Books & ArticlesAssignee: Bruce M Simpson <bms>
Status: Closed FIXED    
Severity: Affects Only Me CC: glebius
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Gleb Smirnoff 2003-12-19 14:40:21 UTC
	In the very beggining of tcpdump(1) it is said:

       Tcpdump  prints  out the headers of packets on a network interface that
       match the boolean expression.  It can also be run  with  the  -w  flag,
       which  causes  it to save the packet data to a file for later analysis,
       and/or with the -b flag, which causes it to read from  a  saved  packet
       file  rather  than  to  read  packets from a network interface.  In all
       cases, only packets that match expression will be processed by tcpdump.

	Really packet dumps can be read with -r flag.

How-To-Repeat: 	man 1 tcpdump
Comment 1 Marc Silver 2004-01-17 08:05:32 UTC
Hi there,

I took a quick look at the tcpdump(1) man page on my FreeBSD 5.2-RELEASE
box and it looks like this has been fixed already.

  -r     Read  packets  from file (which was created with the -w
  	 option).  Standard input is used if file is ``-''.

  -w	 Write  the  raw packets to file rather than parsing and
	 printing them out.  They can later be printed with the -r
	 option.  Standard output is used if file is ``-''.

This PR can most likely be closed.

Cheers,
Marc

-- 
Success is never final. Failure is never fatal. It is courage that
counts.  
  -- Winston Churchill
Comment 2 Gleb Smirnoff 2004-01-17 10:23:40 UTC
On Sat, Jan 17, 2004 at 08:05:32AM +0000, Marc Silver wrote:
M> I took a quick look at the tcpdump(1) man page on my FreeBSD 5.2-RELEASE
M> box and it looks like this has been fixed already.
M> 
M>   -r     Read  packets  from file (which was created with the -w
M>   	 option).  Standard input is used if file is ``-''.
M> 
M>   -w	 Write  the  raw packets to file rather than parsing and
M> 	 printing them out.  They can later be printed with the -r
M> 	 option.  Standard output is used if file is ``-''.

You didn't look into right place. The typo is at the very beginning
of man page, in first paragraph.

However I have looked at tcpdump(1) on 5.2-RELEASE, and the typo
is fixed there.

M> This PR can most likely be closed.

After the typo fixed in STABLE.

-- 
Totus tuus, Glebius.
GLEBIUS-RIPN GLEB-RIPE
Comment 3 Marc Silver 2004-01-17 10:34:47 UTC
On Sat, Jan 17, 2004 at 01:23:40PM +0300, Gleb Smirnoff wrote:
> You didn't look into right place. The typo is at the very beginning
> of man page, in first paragraph.

It is?  I don't see it.

> However I have looked at tcpdump(1) on 5.2-RELEASE, and the typo
> is fixed there.

In other words, the copy on my system is correct?  

> After the typo fixed in STABLE.

Strange, I thought the man pages for the binutils were the same in
-STABLE and the 5.2-RELEASE branch.  My mistake.  

Cheers,
Marc
Comment 4 Bruce M Simpson freebsd_committer freebsd_triage 2004-06-14 15:26:52 UTC
State Changed
From-To: open->closed

I'll take this. Fixed by last vendor branch import of tcpdump 


Comment 5 Bruce M Simpson freebsd_committer freebsd_triage 2004-06-14 15:26:52 UTC
Responsible Changed
From-To: freebsd-doc->bms

I'll take this. Fixed by last vendor branch import of tcpdump