Ethereal-dev: [Ethereal-dev] Ethereal 0.9.7 Compile Fix

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

From: "cjs 2895" <cjs2895@xxxxxxxxxxx>
Date: Tue, 08 Oct 2002 11:51:04 -0400
The following fixes Ethereal so that it will compile with IBM's Visual Age C compiler for AIX. There is also a very bad problem when building the shared plugins under AIX (something about too many levels of symlinks), but I can't fix that right now.

diff packet-bpdu.c.old packet-bpdu.c
137,139c137,139
< #define BPDU_TYPE_CONF 0x00 // STP Configuration BPDU
< #define BPDU_TYPE_RST                 0x02    // RST BPDU (or MST)
< #define BPDU_TYPE_TOPOLOGY_CHANGE 0x80 // STP TCN (Topology change notify) BPDU
---
#define BPDU_TYPE_CONF 0x00 /* STP Configuration BPDU */
#define BPDU_TYPE_RST                 0x02    /* RST BPDU (or MST) */
#define BPDU_TYPE_TOPOLOGY_CHANGE 0x80 /* STP TCN (Topology change notify) BPDU */

diff packet-ncp2222.inc.old packet-ncp2222.inc
4136c4136
< if (info_type == 2) { // Is this a string or not?
---
if (info_type == 2) { /* Is this a string or not? */
4155c4155
< if (info_type == 2) { // Is this a string or not?
---
if (info_type == 2) { /* Is this a string or not? */

_________________________________________________________________
Join the world�s largest e-mail service with MSN Hotmail. http://www.hotmail.com