bin/101693: tcpdump -h shows still "-a"
Dr. Markus Waldeck
waldeck at gmx.de
Wed Aug 9 10:30:55 UTC 2006
>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 at 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:
More information about the freebsd-bugs
mailing list