Ethereal-dev: [Ethereal-dev] netxray ISDN T1 problem (fix attached)

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Budiyanto Fritz <fritzb88@xxxxxxxxx>
Date: Sun, 18 Jan 2004 17:08:15 -0800 (PST)
Hi All,

I uses Sniffer from Network Associate, and found out
that Ethereal has problem reading ISDN capture from a
T1 line on a Cisco Router.

The problem is 4 bytes of padding is added when
reading the Sniffer file (capture is v2). Can someone
confirm if 4 bytes padding needed, but anyway setting
the padding to 0 fixes the problem.

Here I include the patch and a sample sniffer file.


--Fritz

__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus

Attachment: pri3.cap
Description: pri3.cap

Index: netxray.c
===================================================================
RCS file: /cvsroot/ethereal/wiretap/netxray.c,v
retrieving revision 1.85
diff -u -r1.85 netxray.c
--- netxray.c	5 Jan 2004 17:33:28 -0000	1.85
+++ netxray.c	19 Jan 2004 01:03:51 -0000
@@ -874,7 +874,7 @@
 				 * PRI captures appear to have 4 bytes of
 				 * stuff at the end - FCS, or padding?
 				 */
-				padding = 4;
+				padding = 0;
 				break;
 			}
 			break;