aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ieee1905.c
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2018-05-02 11:08:19 +0200
committerAnders Broman <a.broman58@gmail.com>2018-05-02 10:41:14 +0000
commit5cc6cd3ae6f2ae763a47d3f3cb1c5433f9635c1f (patch)
tree0d9e322ed3e4ba313ddb9af641654c4f870a94ef /epan/dissectors/packet-ieee1905.c
parentf7296644c55504318294fab1bd8ffefc50e86292 (diff)
IEEE 1905.1a: use col_add_str to add non const strings
Bug: 14647 Change-Id: I112d47e459e71648dccf331d56b8c70f44d01134 Reviewed-on: https://code.wireshark.org/review/27250 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com> Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-ieee1905.c')
-rw-r--r--epan/dissectors/packet-ieee1905.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ieee1905.c b/epan/dissectors/packet-ieee1905.c
index 3974ef6ea0..39493812c4 100644
--- a/epan/dissectors/packet-ieee1905.c
+++ b/epan/dissectors/packet-ieee1905.c
@@ -4517,7 +4517,7 @@ dissect_ieee1905(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
message_type = tvb_get_ntohs(tvb, 2);
- col_set_str(pinfo->cinfo, COL_INFO,
+ col_add_str(pinfo->cinfo, COL_INFO,
val_to_str_ext(message_type, &ieee1905_message_type_vals_ext,
"Unknown: %u"));