Your message dated Wed, 06 Jul 2005 14:48:35 -0400
with message-id <[EMAIL PROTECTED]>
and subject line Bug#316908: fixed in tcpdump 3.9.1-1
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 4 Jul 2005 18:23:46 +0000
>From [EMAIL PROTECTED] Mon Jul 04 11:23:46 2005
Return-path: <[EMAIL PROTECTED]>
Received: from twinlark.arctic.org [207.7.145.18] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DpVbe-0006TB-00; Mon, 04 Jul 2005 11:23:46 -0700
Received: (qmail 8739 invoked from network); 4 Jul 2005 18:23:45 -0000
Received: from unknown (HELO localhost) (127.0.0.1)
  by 127.0.0.1 with ESMTPS (AES256-SHA); 4 Jul 2005 18:23:45 -0000
Date: Mon, 4 Jul 2005 11:23:45 -0700 (PDT)
From: dean gaudet <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: -A broken in 3.9 cvs
Message-ID: <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: tcpdump
Version: 3.9.0.cvs.20050614-1

this problem has been submitted upstream (tracking info at 
http://sourceforge.net/tracker/index.php?func=detail&aid=1232347&group_id=53066&atid=469575)

the -A flag no longer prints the ascii minus the hex like it did in 
3.8.x... while i'm a bit confused by why the code sets xflag, Xflag and 
Aflag when -A is specified, the attached patch does appear to fix the 
priority of -A vs. -X/-x ...

-dean

--- tcpdump.c.orig      2005-06-03 15:08:53.000000000 -0700
+++ tcpdump.c   2005-06-29 00:16:05.547673227 -0700
@@ -1224,15 +1224,15 @@
        snapend = sp + h->caplen;
 
        hdrlen = (*print_info->printer)(h, sp);
-       if (xflag) {
+       if (Xflag) {
                /*
                 * Print the raw packet data.
                 */
-               if (xflag > 1) {
+               if (Xflag > 1) {
                        /*
                         * Include the link-layer header.
                         */
-                       hex_print("\n\t", sp, h->caplen);
+                       ascii_print("\n\t", sp, h->caplen);
                } else {
                        /*
                         * Don't include the link-layer header - and if
@@ -1240,18 +1240,18 @@
                         * print nothing.
                         */
                        if (h->caplen > hdrlen)
-                               hex_print("\n\t", sp + hdrlen,
+                               ascii_print("\n\t", sp + hdrlen,
                                    h->caplen - hdrlen);
                }
-       } else if (Xflag) {
+       } else if (xflag) {
                /*
                 * Print the raw packet data.
                 */
-               if (Xflag > 1) {
+               if (xflag > 1) {
                        /*
                         * Include the link-layer header.
                         */
-                       ascii_print("\n\t", sp, h->caplen);
+                       hex_print("\n\t", sp, h->caplen);
                } else {
                        /*
                         * Don't include the link-layer header - and if
@@ -1259,10 +1259,10 @@
                         * print nothing.
                         */
                        if (h->caplen > hdrlen)
-                               ascii_print("\n\t", sp + hdrlen,
+                               hex_print("\n\t", sp + hdrlen,
                                    h->caplen - hdrlen);
                }
-       }
+        }
 
        putchar('\n');
 


---------------------------------------
Received: (at 316908-close) by bugs.debian.org; 6 Jul 2005 18:51:47 +0000
>From [EMAIL PROTECTED] Wed Jul 06 11:51:47 2005
Return-path: <[EMAIL PROTECTED]>
Received: from newraff.debian.org [208.185.25.31] (mail)
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DqEzr-0001Ja-00; Wed, 06 Jul 2005 11:51:47 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
        id 1DqEwl-0006sC-00; Wed, 06 Jul 2005 14:48:35 -0400
From: Romain Francoise <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#316908: fixed in tcpdump 3.9.1-1
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Wed, 06 Jul 2005 14:48:35 -0400
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 
X-CrossAssassin-Score: 2

Source: tcpdump
Source-Version: 3.9.1-1

We believe that the bug you reported is fixed in the latest version of
tcpdump, which is due to be installed in the Debian FTP archive:

tcpdump_3.9.1-1.diff.gz
  to pool/main/t/tcpdump/tcpdump_3.9.1-1.diff.gz
tcpdump_3.9.1-1.dsc
  to pool/main/t/tcpdump/tcpdump_3.9.1-1.dsc
tcpdump_3.9.1-1_i386.deb
  to pool/main/t/tcpdump/tcpdump_3.9.1-1_i386.deb
tcpdump_3.9.1.orig.tar.gz
  to pool/main/t/tcpdump/tcpdump_3.9.1.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Romain Francoise <[EMAIL PROTECTED]> (supplier of updated tcpdump package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Wed,  6 Jul 2005 20:17:19 +0200
Source: tcpdump
Binary: tcpdump
Architecture: source i386
Version: 3.9.1-1
Distribution: unstable
Urgency: low
Maintainer: Romain Francoise <[EMAIL PROTECTED]>
Changed-By: Romain Francoise <[EMAIL PROTECTED]>
Description: 
 tcpdump    - A powerful tool for network monitoring and data acquisition
Closes: 285764 316908
Changes: 
 tcpdump (3.9.1-1) unstable; urgency=low
 .
   * New upstream release.
   * debian/patches/30_ascii-output.dpatch: New patch, fixes -x, -X and -A
     priorities and removes extra newline and tab characters in the ascii
     output (closes: #285764, #316908).
   * debian/patches/00list: Update.
Files: 
 04e300d2cc6fb5b596d6c86ff6123753 654 net optional tcpdump_3.9.1-1.dsc
 5f589a34be42d335176d1b8cfcbd1f6b 662060 net optional tcpdump_3.9.1.orig.tar.gz
 7ca18fdee36ccced0a29413a7478b0df 11569 net optional tcpdump_3.9.1-1.diff.gz
 8f8746b9b9d95c7b06ffaad4f64c4651 289748 net optional tcpdump_3.9.1-1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCzCK9ogN2vsA8Vt8RAlz2AJ9nhdArAbe5Tmeuy+n2sGfvDCcDGwCcDYtS
OnU3ReTVrcBFHnBmjuhPhWo=
=g1vK
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to