diff options
author | Sean O. Stalley <sean.stalley@intel.com> | 2014-07-09 09:45:07 -0700 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2014-07-09 21:01:59 +0000 |
commit | cdc1c16bb72ef4dc2044068ff9555e1a866e60c4 (patch) | |
tree | b91d5a4f3b560335f3e7ee7409e6b2efe68aef9a | |
parent | 813aa935104dd287ed09e3f0bc9296347ec4d5d7 (diff) |
Print wIndex in decimal and hex
wIndex often contains different fields in it's upper & lower byte.
Printing in hex makes these seperate fields easier to read.
Change-Id: I69fb7e14b4f5b5a1ecd61bcae34f6d100f1a94b6
Reviewed-on: https://code.wireshark.org/review/2961
Reviewed-by: Anders Broman <a.broman58@gmail.com>
-rw-r--r-- | epan/dissectors/packet-usb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-usb.c b/epan/dissectors/packet-usb.c index 11dc9c63fa..cc2920fb64 100644 --- a/epan/dissectors/packet-usb.c +++ b/epan/dissectors/packet-usb.c @@ -3619,7 +3619,7 @@ proto_register_usb(void) { &hf_usb_index, { "wIndex", "usb.setup.wIndex", - FT_UINT16, BASE_DEC, NULL, 0x0, + FT_UINT16, BASE_DEC_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_usb_length, |