Date: Wed, 9 Aug 2006 10:28:00 GMT From: "Dr. Markus Waldeck" <waldeck@gmx.de> To: freebsd-gnats-submit@FreeBSD.org Subject: bin/101693: tcpdump -h shows still "-a" Message-ID: <200608091028.k79AS09V071719@www.freebsd.org> Resent-Message-ID: <200608091030.k79AUGPO096792@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 101693
>Category: bin
>Synopsis: tcpdump -h shows still "-a"
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Aug 09 10:30:15 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Dr. Markus Waldeck
>Release: 7.0-CURRENT-200607
>Organization:
>Environment:
FreeBSD fb 7.0-CURRENT-200607 FreeBSD 7.0-CURRENT-200607 #0: Fri Jul 7 23:24:18 UTC 2006
root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>Description:
tcpdump -h shows still "-a" which is according to the source code (contrib/tcpdump/tcpdump.c) "compatibility for old -a" and not used at all.
>How-To-Repeat:
tcpdump -h
>Fix:
*** tcpdump.c Wed Aug 9 12:22:12 2006
--- tcpdump.c.NEW Wed Aug 9 12:22:41 2006
***************
*** 1377,1383 ****
#endif /* WIN32 */
#endif /* HAVE_PCAP_LIB_VERSION */
(void)fprintf(stderr,
! "Usage: %s [-aAd" D_FLAG "eflLnNOpqRStu" U_FLAG "vxX]" B_FLAG_USAGE " [-c count] [ -C file_size ]\n", program_name);
(void)fprintf(stderr,
"\t\t[ -E algo:secret ] [ -F file ] [ -i interface ] [ -M secret ]\n");
(void)fprintf(stderr,
--- 1377,1383 ----
#endif /* WIN32 */
#endif /* HAVE_PCAP_LIB_VERSION */
(void)fprintf(stderr,
! "Usage: %s [-Ad" D_FLAG "eflLnNOpqRStu" U_FLAG "vxX]" B_FLAG_USAGE " [-c count] [ -C file_size ]\n", program_name);
(void)fprintf(stderr,
"\t\t[ -E algo:secret ] [ -F file ] [ -i interface ] [ -M secret ]\n");
(void)fprintf(stderr,
>Release-Note:
>Audit-Trail:
>Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608091028.k79AS09V071719>
