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 <[email protected]>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:[email protected]?subject=unsubscribe

Reply via email to