Ethereal-dev: Re: [Ethereal-dev] packet-aodv6.c patch

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

From: Guy Harris <gharris@xxxxxxxxx>
Date: Thu, 22 Aug 2002 00:33:56 -0700
On Thu, Aug 22, 2002 at 02:34:59PM +1000, HOOD, Andy wrote:
> packet-aodv6.c won't compile on AIX.
> 
> IBM compiler doesn't appear to accept bit definitions on anything except
> unsigned int.

And "packet-aodv.c" compiled?  It has the same problem.

> ext_t is defined in a system header.
> 
> Patch against 0.9.6 attached.

Checked in, except that I completely got rid of the bit fields (as
there's no guarantee that they'll be in the order one might naively
expect - they might match the byte order on the machine, or they might
not; C makes no guarantees), and did the same for packet-aodv.c.

I also added a protocol tree for the prefix size field, as it wasn't put
into the protocol tree at all.