Wireshark-bugs: [Wireshark-bugs] [Bug 9367] Enhancement of the packet-mq dissector (WMQ 7.1-7.5)
Date: Tue, 05 Nov 2013 17:29:10 +0000

Comment # 11 on bug 9367 from
P.S.

Once I started doing the above (extern'ing just the extended-value-strings and
not the underlying value-strings) I found a few cases where the extended value
strings were not being used.

packet-mq.c
-----------

-               { &hf_mq_inq_sel       ,{"Selector........", "mq.inq.sel",
FT_UINT32, BASE_DEC, VALS(GET_VALSV(selector)), 0x0, "INQ Selector", HFILL
}},
+               { &hf_mq_inq_sel       ,{"Selector........", "mq.inq.sel",
FT_UINT32, BASE_DEC | BASE_EXT_STRING, &GET_VALSVX(selector), 0x0, "INQ Sel


packet-mq-pcf.c
---------------

(just one of several)

-       uCmd,val_to_str_const(uCmd,GET_VALSV(mqcmd),"Unknown"),
+       uCmd,val_to_str_ext_const(uCmd,&GET_VALSVX(mqcmd),"Unknown"),


==============

I won't make any more changes and will await your next patch.   :)

Bill


You are receiving this mail because:
  • You are watching all bug changes.