From glebius@bestcom.ru  Fri Dec 19 06:34:33 2003
Return-Path: <glebius@bestcom.ru>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 60DD316A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 19 Dec 2003 06:34:33 -0800 (PST)
Received: from relay.bestcom.ru (relay.bestcom.ru [217.72.144.5])
	by mx1.FreeBSD.org (Postfix) with ESMTP id BFB2A43D50
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 19 Dec 2003 06:34:30 -0800 (PST)
	(envelope-from glebius@bestcom.ru)
Received: from fade.bestcom.ru (fade.bestcom.ru [217.72.144.3])
	by relay.bestcom.ru (8.12.9/8.12.9) with ESMTP id hBJEYR3m051346
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 19 Dec 2003 17:34:27 +0300 (MSK)
	(envelope-from glebius@bestcom.ru)
Received: from fade.bestcom.ru (localhost [127.0.0.1])
	by fade.bestcom.ru (8.12.9/8.12.9) with ESMTP id hBJEYRXA091221;
	Fri, 19 Dec 2003 17:34:27 +0300 (MSK)
	(envelope-from glebius@fade.bestcom.ru)
Received: (from glebius@localhost)
	by fade.bestcom.ru (8.12.9/8.12.9/Submit) id hBJEYQkN091220;
	Fri, 19 Dec 2003 17:34:26 +0300 (MSK)
Message-Id: <200312191434.hBJEYQkN091220@fade.bestcom.ru>
Date: Fri, 19 Dec 2003 17:34:26 +0300 (MSK)
From: Gleb Smirnoff <glebius@cell.sick.ru>
Reply-To: Gleb Smirnoff <glebius@cell.sick.ru>
To: FreeBSD-gnats-submit@freebsd.org
Cc: glebius@fade.bestcom.ru
Subject: small typo/error in tcpdump(1)
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         60401
>Category:       docs
>Synopsis:       small typo/error in tcpdump(1)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bms
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 19 06:40:21 PST 2003
>Closed-Date:    Mon Jun 14 14:27:20 GMT 2004
>Last-Modified:  Mon Jun 14 14:27:20 GMT 2004
>Originator:     Gleb Smirnoff
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
Best Telecom ISP
>Environment:
System: FreeBSD fade.bestcom.ru 4.8-STABLE FreeBSD 4.8-STABLE #2: Fri Aug 15 12:24:22 MSD 2003 root@fade.bestcom.ru:/usr/obj/usr/src/sys/FADE i386

>Description:
	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
>Fix:

--- tcpdump.1.orig	Fri Dec 19 17:30:32 2003
+++ tcpdump.1	Fri Dec 19 17:30:51 2003
@@ -89,7 +89,7 @@
 .B \-w
 flag, which causes it to save the packet data to a file for later
 analysis, and/or with the
-.B \-b
+.B \-r
 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
>Release-Note:
>Audit-Trail:

From: Marc Silver <marcs@draenor.org>
To: freebsd-gnats-submit@FreeBSD.org, glebius@cell.sick.ru
Cc:  
Subject: Re: docs/60401: small typo/error in tcpdump(1)
Date: Sat, 17 Jan 2004 08:05:32 +0000

 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

From: Gleb Smirnoff <glebius@cell.sick.ru>
To: Marc Silver <marcs@draenor.org>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: docs/60401: small typo/error in tcpdump(1)
Date: Sat, 17 Jan 2004 13:23:40 +0300

 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

From: Marc Silver <marcs@draenor.org>
To: Gleb Smirnoff <glebius@cell.sick.ru>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: docs/60401: small typo/error in tcpdump(1)
Date: Sat, 17 Jan 2004 10:34:47 +0000

 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
State-Changed-From-To: open->closed 
State-Changed-By: bms 
State-Changed-When: Mon Jun 14 14:26:52 GMT 2004 
State-Changed-Why:  
I'll take this. Fixed by last vendor branch import of tcpdump 


Responsible-Changed-From-To: freebsd-doc->bms 
Responsible-Changed-By: bms 
Responsible-Changed-When: Mon Jun 14 14:26:52 GMT 2004 
Responsible-Changed-Why:  
I'll take this. Fixed by last vendor branch import of tcpdump 

http://www.freebsd.org/cgi/query-pr.cgi?pr=60401 
>Unformatted:
