From nobody@FreeBSD.org  Wed Aug  9 10:28:07 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 9100316A4DA
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  9 Aug 2006 10:28:07 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 2299743D46
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  9 Aug 2006 10:28:00 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k79AS0Jo071720
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 9 Aug 2006 10:28:00 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k79AS09V071719;
	Wed, 9 Aug 2006 10:28:00 GMT
	(envelope-from nobody)
Message-Id: <200608091028.k79AS09V071719@www.freebsd.org>
Date: Wed, 9 Aug 2006 10:28:00 GMT
From: "Dr. Markus Waldeck" <waldeck@gmx.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: tcpdump -h shows still "-a"
X-Send-Pr-Version: www-2.3

>Number:         101693
>Category:       bin
>Synopsis:       [patch] tcpdump -h shows still "-a"
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 09 10:30:15 GMT 2006
>Closed-Date:    Mon Mar 05 13:02:21 GMT 2007
>Last-Modified:  Mon Mar 05 13:02:21 GMT 2007
>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:
State-Changed-From-To: open->closed 
State-Changed-By: bms 
State-Changed-When: Mon Mar 5 13:01:39 UTC 2007 
State-Changed-Why:  
Rejected. Upstream tcpdump at tcpdump.org still shows this flag and 
it's a waste of time to take a file off the vendor branch just because 
of a single command line option which is no longer documented. 
Please submit this patch upstream to tcpdump.org first. 

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