diff options
author | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2011-08-16 14:54:59 +0000 |
---|---|---|
committer | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2011-08-16 14:54:59 +0000 |
commit | 5959387e7d8e99146c1cf8555ea40b92d40f1014 (patch) | |
tree | 9157513d6dfa2024c5f7834b072756bc4d2fbdc5 | |
parent | 6a15feffa2e818e22126d9fce7054bbcf9009118 (diff) |
Use col_append_sep_str() to comma-separate info column text. Fixes bug 6186.
Reference: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6186
svn path=/trunk/; revision=38564
-rw-r--r-- | epan/dissectors/packet-nas_eps.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-nas_eps.c b/epan/dissectors/packet-nas_eps.c index c38c861c78..82fa860cda 100644 --- a/epan/dissectors/packet-nas_eps.c +++ b/epan/dissectors/packet-nas_eps.c @@ -4295,7 +4295,7 @@ disect_nas_eps_esm_msg(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int get_nas_esm_msg_params(oct, &msg_str, &ett_tree, &hf_idx, &msg_fcn_p); if(msg_str){ - col_append_fstr(pinfo->cinfo, COL_INFO, " %s ", msg_str); + col_append_sep_str(pinfo->cinfo, COL_INFO, NULL, msg_str); }else{ proto_tree_add_text(tree, tvb, offset, 1,"Unknown message 0x%x",oct); return; @@ -4368,7 +4368,7 @@ dissect_nas_eps_emm_msg(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int get_nas_emm_msg_params(oct, &msg_str, &ett_tree, &hf_idx, &msg_fcn_p); if(msg_str){ - col_append_fstr(pinfo->cinfo, COL_INFO, " %s ", msg_str); + col_append_sep_str(pinfo->cinfo, COL_INFO, NULL, msg_str); }else{ proto_tree_add_text(tree, tvb, offset, 1,"Unknown message 0x%x",oct); return; @@ -4466,7 +4466,7 @@ dissect_nas_eps(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) }else{ /* SERVICE REQUEST (12) is not a plain NAS message treat separately */ if (security_header_type == 12){ - col_append_fstr(pinfo->cinfo, COL_INFO, " SERVICE REQUEST "); + col_append_sep_str(pinfo->cinfo, COL_INFO, NULL, "SERVICE REQUEST"); nas_emm_service_req(tvb, nas_eps_tree, pinfo, offset, len-offset); return; } |