Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Ethereal-dev: [Ethereal-dev] Patch to correct a minor bug in Lucent/Ascend parsing.

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

From: Ignacio Goyret <igoyret@xxxxxxxxxx>
Date: Tue, 11 Oct 2005 12:37:46 -0700
Hi,
Attached is a patch to correct a bug in parsing Lucent/Ascend
PPP dumps. Basically, blobs with "PPP-OUT" should be labelled
"PPP transmit" while blobs with "PPP-IN" should be labelled
"PPP receive". The current code labels them the other way around.

I used version 0.10.12 as the base for the patch.

Cheers,
-Ignacio Goyret
diff -urp ethereal-0.10.12-orig/wiretap/ascend-scanner.l ethereal-0.10.12-patched/wiretap/ascend-scanner.l
--- ethereal-0.10.12-orig/wiretap/ascend-scanner.l	Tue Jul 26 12:26:49 2005
+++ ethereal-0.10.12-patched/wiretap/ascend-scanner.l	Mon Oct 10 19:13:27 2005
@@ -65,8 +65,8 @@ int mul, scratch;
 D [0-9]
 H [A-Fa-f0-9]
 
-PPP_XPFX PPP-IN
-PPP_RPFX PPP-OUT
+PPP_XPFX PPP-OUT
+PPP_RPFX PPP-IN
 ISDN_XPFX PRI-XMIT-
 ISDN_RPFX PRI-RCV-
 WAN_XPFX XMIT[\-:]*