forked from osmocom/wireshark
IPMI: do not use col_set_str with non const strings
Bug: 12782 Change-Id: Ia082ccf5355d7f8dd6073861c59c804fecc96266 Reviewed-on: https://code.wireshark.org/review/17289 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
This commit is contained in:
parent
8915bb2a4e
commit
5213496250
|
@ -300,7 +300,7 @@ dissect_ipmi_trace(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* da
|
|||
|
||||
|
||||
col_add_fstr(pinfo->cinfo, COL_DEF_SRC, "Channel %d", chn_num);
|
||||
col_set_str(pinfo->cinfo, COL_PROTOCOL,
|
||||
col_add_str(pinfo->cinfo, COL_PROTOCOL,
|
||||
val_to_str(data_type, str_protocol_types,
|
||||
"Reserved (0x%02x)"));
|
||||
|
||||
|
|
Loading…
Reference in New Issue