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 4968] New: New DSCP filter syntax uses hex not decimal

Date: Fri, 2 Jul 2010 08:09:12 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4968

           Summary: New DSCP filter syntax uses hex not decimal
           Product: Wireshark
           Version: 1.4.0
          Platform: x86
        OS/Version: Windows 7
            Status: NEW
          Severity: Normal
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: keithfrench@xxxxxxxxxxxxx


Build Information:
Version 1.4.0rc1 (SVN Rev 33190 from /trunk-1.4)

Copyright 1998-2010 Gerald Combs <gerald@xxxxxxxxxxxxx> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled with GTK+ 2.16.6, (32-bit) with GLib 2.22.4, with WinPcap (version
unknown), with libz 1.2.3, without POSIX capabilities, without libpcre, with
SMI
0.4.8, with c-ares 1.7.1, with Lua 5.1, without Python, with GnuTLS 2.8.5, with
Gcrypt 1.4.5, with MIT Kerberos, with GeoIP, with PortAudio V19-devel (built
Jun
 9 2010), with AirPcap.

Running on 32-bit Windows 7, build 7600, with WinPcap version 4.1.1 (packet.dll
version 4.1.0.1753), based on libpcap version 1.0 branch 1_0_rel0b (20091008),
GnuTLS 2.8.5, Gcrypt 1.4.5, without AirPcap.

Built using Microsoft Visual C++ 9.0 build 30729

Wireshark is Open Source Software released under the GNU General Public
License.

Check the man page and http://www.wireshark.org for more information.
--
The filter syntax for DSCP prior to the 1.4.0rc1 used to be:-

ip.dscp.value

which used the decimal value e.g 

ip.dscp.value eq 46

>From 1.4.0rc1 the syntax has been changed to:-

ip.dsfield.dscp

This now requires a value in hex not decimal, e.g. 

ip.dsfield.dscp eq 0x2e

If you look at the filter syntax covering the full octet, ip.dsfield, this uses
decimal:-

ip.dsfield eq 184


Would it be possible to change the value used for ip.dsfield.dscp back to
decimal, rather than hex?

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