Ethereal-dev: [Ethereal-dev] Re: [Ethereal-cvs] cvs commit: ethereal/epan packet_info.h

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

From: Richard Sharpe <rsharpe@xxxxxxxxxx>
Date: Wed, 31 Jul 2002 17:19:02 +0930 (CST)
On Wed, 31 Jul 2002, Ronnie Sahlberg wrote:

> sahlberg    2002/07/31 01:15:27 CDT
> 
>   Modified files:
>     epan                 packet_info.h 
>   Log:
>   Adding a new macro CMP_ADDRESS similar to ADDRESS_EQUAL but this one will return
>   -1,0,1 as the xxxcmp() functions will instead of just true/false.
>   Useful if you not only want to check for equality but also if you want to have a way to order the elements.

Hmmm, for consistency with xxxcmp, perhaps it should be called addresscmp, 
or ipv4cmp or what not.

Regards
-----
Richard Sharpe, rsharpe@xxxxxxxxxx, rsharpe@xxxxxxxxx, 
sharpe@xxxxxxxxxxxx