Wireshark-bugs: [Wireshark-bugs] [Bug 338] WTLS dissector display bug: session ids > 4 bytes not
Date: Sat, 2 Sep 2006 08:44:56 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=338





------- Comment #6 from jonas.berlin@xxxxxxxxxxxx  2006-09-02 08:44 GMT -------
Oh well, one note.. could you consider displaying the session id in both
hexadecimal and decimal formats (as I did in my second patch)? We usually need
the session id in hex format but just as well I understand someone else would
like it in decimal format so I think it would be nice having both..

Something like this could do the trick (code adjusted to fit your 19115 patch):

    char tmp[40];
    snprintf(tmp, 40, "0x%0*Lx %Lu", count * 2, session_id, session_id);

.. and use proto_tree_add_text() instead..

Thanks for your time,
  Jonas Berlin


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