Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 5077] GeoIP: Display Filter comparisons operators do not s

Date: Sun, 1 Apr 2012 14:30:17 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5077

Jakub Zawadzki <darkjames-ws@xxxxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #8124|                            |review_for_checkin?
              Flags|                            |

--- Comment #1 from Jakub Zawadzki <darkjames-ws@xxxxxxxxxxxx> 2012-04-01 14:30:17 PDT ---
Created attachment 8124
  --> https://bugs.wireshark.org/bugzilla/attachment.cgi?id=8124
Use FT_DOUBLE for langitude, longitude + cleanup.

Langitude and longitude are FT_STRING type, so when filtering wireshark is
using string comparision ;/

Attaching fix, which changes types from FT_STRING to FT_DOUBLE.
Can you test it?

Btw. After patching don't put numbers in quotes just:

tshark -n -t r -r "/tmp/capture.cap" -R '(ip.geoip.src_lat<-10.0) ||
(ip.geoip.dst_lat < -10.0)' -o 'ip.use_geoip:TRUE';

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are watching all bug changes.