From jkb@shell6.ba.best.com  Fri Oct 23 22:03:49 1998
Received: from shell6.ba.best.com (shell6.ba.best.com [206.184.139.137])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA15695
          for <FreeBSD-gnats-submit@freebsd.org>; Fri, 23 Oct 1998 22:03:28 -0700 (PDT)
          (envelope-from jkb@shell6.ba.best.com)
Received: (from jkb@localhost)
	by shell6.ba.best.com (8.9.0/8.9.0/best.sh) id WAA25980;
	Fri, 23 Oct 1998 22:01:48 -0700 (PDT)
Message-Id: <199810240501.WAA25980@shell6.ba.best.com>
Date: Fri, 23 Oct 1998 22:01:48 -0700 (PDT)
From: jkb@best.com
Reply-To: jkb@FreeBSD.ORG
To: FreeBSD-gnats-submit@freebsd.org
Subject: typo in tcpdump man page 
X-Send-Pr-Version: 3.2

>Number:         8429
>Category:       misc
>Synopsis:       typo in tcpdump man page
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 23 22:10:01 PDT 1998
>Closed-Date:    Sat Oct 24 03:08:52 PDT 1998
>Last-Modified:  Sat Oct 24 03:09:15 PDT 1998
>Originator:     Jan B. Koum
>Release:        FreeBSD 2.2.7-STABLE i386
>Organization:
>Environment:

	2.2 and 3.0

>Description:

	From tcpdump man page:

	To   print   all   ICMP   packets   that   are   not  echo
	requests/replies (i.e., not ping packets):
                tcpdump 'icmp[0] != 8 and icmp[0] != 0"
                       ^^^                           ^^^

>How-To-Repeat:

	man tcpdump
	Try to follow the example:

rafraf# tcpdump 'icmp[0] != 8 and icmp[0] != 0"
Unmatched '.

	Make sure both are " ' " 

rafraf# tcpdump 'icmp[0] != 8 and icmp[0] != 0'
tcpdump: listening on xl0
21:54:43.368414 192.168.1.100 > rafraf: icmp: time exceeded in-transit [tos 0xc0]
21:54:43.424888 192.168.1.100 > rafraf: icmp: time exceeded in-transit [tos 0xc0]

>Fix:

	Change
              tcpdump 'icmp[0] != 8 and icmp[0] != 0"
	to
              tcpdump 'icmp[0] != 8 and icmp[0] != 0'

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: thepish 
State-Changed-When: Sat Oct 24 03:08:52 PDT 1998 
State-Changed-Why:  
applied 
>Unformatted:
