Ethereal-dev: [ethereal-dev] 0.7.7: Problems filtering ip.addr with < or > operators

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

From: a.pfaller@xxxxxxxxxx (Andreas Pfaller)
Date: Fri, 29 Oct 1999 22:49:44 +0200
Linux 2.2.12, gtk 1.2.3

I am unable to get the relational filter operators (<,>,<=,>=) to
produce any resonable results.

E.g. trying to color code any IP packet leaving my local subnet
(192.168.1.0/24) with the filter 
"ip.addr < 192.168.1.0 || ip.addr > 192.168.1.255"
produces wrong results. 

I have tried to locate the reason and currently I suspect this to be
a byte ordering problem in the data delivered to
check_relation_numeric() since the "==" and "!=" operator work as
expected.

Thanks for your work on ethereal.

Andreas (a.pfaller@xxxxxxxxxx)