diff options
author | Stephen Fisher <steve@stephen-fisher.com> | 2009-12-04 02:41:23 +0000 |
---|---|---|
committer | Stephen Fisher <steve@stephen-fisher.com> | 2009-12-04 02:41:23 +0000 |
commit | 5ee8a92d01dd813dfd8b3676d66d6f9ab8e86253 (patch) | |
tree | 78f484a68024b23c5657b22b8fca890813c45649 /epan/dissectors/packet-l1-events.c | |
parent | c5eabf762faa9c694fe430b31c49a1bc49d19f74 (diff) |
Fix a problem where the Info column's contents was changing erratically
because the Info column was being filled in with a string that didn't
stay around long enough. Changed a col_set_str() to col_add_str() call.
svn path=/trunk/; revision=31168
Diffstat (limited to 'epan/dissectors/packet-l1-events.c')
-rw-r--r-- | epan/dissectors/packet-l1-events.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-l1-events.c b/epan/dissectors/packet-l1-events.c index 8bb97df39b..3855ac7d9c 100644 --- a/epan/dissectors/packet-l1-events.c +++ b/epan/dissectors/packet-l1-events.c @@ -83,7 +83,7 @@ dissect_l1_events(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) tvb_ensure_length_remaining(tvb, 0), &next_offset, FALSE); if(len>0) - col_set_str(pinfo->cinfo, COL_INFO, + col_add_str(pinfo->cinfo, COL_INFO, tvb_format_text(tvb, 0, len)); } if (tree) { |