Ethereal-dev: [Ethereal-dev] cannot compare FT_UINT64s in dfilters

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

Date: Fri, 13 May 2005 03:31:08 +0200
I noticed that FT_UINT64 values fail to compare in dfilters for instance:

A filter created with Prepare a FIlter->Selected fails to select the
frame (it doesn't select any frame).


field.64bit == 0x123456789ABCDEF0 => fails even if that's the actual value

"weird"  operations:
field.64bit > 0 => matches always
field.64bit > 1 => never matches
field.64bit < 1 => matches always
field.64bit < 1 && field.64bit > 0 => matches always (there's no
problem with logical operators... but considering that the value is an
unsigned integer that should never happen)

I'm using a mac, I haven't tested it yet on windows.

an explanation anyone?

Luis