diff options
author | krj <krj@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-09-06 04:26:50 +0000 |
---|---|---|
committer | krj <krj@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-09-06 04:26:50 +0000 |
commit | e6d399fab0755b70d746548c1cef8626b0bc2bc2 (patch) | |
tree | cc0942b4f55f153eea4d3d951068ee42953a8de9 /epan/dissectors/packet-hip.c | |
parent | c503c2b0562419bb9542feb10fa26fc769a50a97 (diff) |
Don't pass ep_alloc()'ed strings to col_set_str().
Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3984
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29726 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-hip.c')
-rw-r--r-- | epan/dissectors/packet-hip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-hip.c b/epan/dissectors/packet-hip.c index dbb3cb726c..9ad771e464 100644 --- a/epan/dissectors/packet-hip.c +++ b/epan/dissectors/packet-hip.c @@ -435,7 +435,7 @@ dissect_hip(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) control_h = tvb_get_ntohs(tvb, newoffset); newoffset += 2; - col_set_str(pinfo->cinfo, COL_INFO, val_to_str(hiph_packet_type, pinfo_vals, "Unknown")); + col_set_str(pinfo->cinfo, COL_INFO, val_to_str_const(hiph_packet_type, pinfo_vals, "Unknown")); /* populate a tree in the second pane with the status of the link layer (i.e. none) */ if(tree) { |