From owner-freebsd-bugs Fri Oct 23 22:10:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA16160 for freebsd-bugs-outgoing; Fri, 23 Oct 1998 22:10:07 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA16154 for ; Fri, 23 Oct 1998 22:10:05 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id WAA12093; Fri, 23 Oct 1998 22:10:01 -0700 (PDT) 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 ; 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 X-Send-Pr-Version: 3.2 Subject: misc/8429: typo in tcpdump man page Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 8429 >Category: misc >Synopsis: typo in tcpdump man page >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Fri Oct 23 22:10:01 PDT 1998 >Last-Modified: >Originator: Jan B. Koum >Organization: >Release: FreeBSD 2.2.7-STABLE i386 >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' >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message