Wireshark mailing list archives

Re: [Wireshark-commits] rev 43176: /trunk/epan/dissectors/ /trunk/epan/dissectors/: packet-ieee80211.c


From: Jakub Zawadzki <darkjames-ws () darkjames pl>
Date: Wed, 20 Jun 2012 20:33:00 +0200

Hi,

On Wed, Jun 20, 2012 at 01:59:35PM -0400, Jeff Morriss wrote:
In other words, prior to the recent changes if I used BASE_NONE for a 
field (say, sctp.chunk_type) then if I did "prepare as filter" for that 
field, I'd get, for example:

      sctp.chunk_type == "HEARTBEAT"

whereas using BASE_DEC would give me:

      sctp.chunk_type == 4

Now (in trunk and trunk-1.8) dissector writers no longer have that 
option.  I'm not convinced they should; maybe we should always do one or 
the other (which?).  

+1 It could be preference, with default string output.

Also I used BASE_NONE in nflog for guessed packet encodning. 
This value for user is meaningless, and can be not shown:
  [Encoding: Little Endian (0x80000000)]

It's narrow usecase but maybe PDML generation code could
fallback to BASE_HEX (or BASE_DEC?, it can be disscussed) 
when BASE_NONE is requested.
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: