forked from osmocom/wireshark
QNET6: do not use col_set_str with non constant strings
Change-Id: I63e965d819413299bf3e9a400b80ded23225598a Reviewed-on: https://code.wireshark.org/review/6975 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
This commit is contained in:
parent
b3e82690a6
commit
3badc30396
1 changed files with 1 additions and 1 deletions
|
@ -4078,7 +4078,7 @@ dissect_qnet6(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, void *data
|
|||
qtype = tvb_get_guint8(tvb, offset);
|
||||
proto_tree_add_item(qnet6_tree, hf_qnet6_l4_type, tvb, offset++, 1, ENC_BIG_ENDIAN);
|
||||
|
||||
col_set_str(pinfo->cinfo, COL_INFO, val_to_str(qtype, qnet6_type_vals, "Unknown LWL4 Type %u packets"));
|
||||
col_add_str(pinfo->cinfo, COL_INFO, val_to_str(qtype, qnet6_type_vals, "Unknown LWL4 Type %u packets"));
|
||||
/*
|
||||
* flags
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue