Ethereal-dev: Re: [ethereal-dev] [PATCH]

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

From: Guy Harris <guy@xxxxxxxxxx>
Date: Mon, 23 Aug 1999 14:46:39 -0700 (PDT)
> In source from cvs 30 min ago, i needed the following patch to make
> ethereal build on OSF/1 (Digital Unix/Tru64)..

In the current tree, "swap_mac_addr()" is just like "get_mac_addr()",
except that it bit-swaps the MAC address regardless of whether
BIT_SWAPPED_MAC_ADDRS is defined or not; the comment before the stuff
that uses the result of "swap_mac_addr()" is

/* hide some bit-swapped mac address fields in the proto_tree, just in case */

which suggest that it's intended to do so.

If so, then the fix would be to have "swaptab[]" be defined regardless
of whether BIT_SWAPPED_MAC_ADDRS is defined or not.

Gilbert, is that what you intended?