Date: Fri, 23 Oct 1998 22:01:48 -0700 (PDT) From: jkb@best.com To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: misc/8429: typo in tcpdump man page Message-ID: <199810240501.WAA25980@shell6.ba.best.com>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810240501.WAA25980>
