From 9d316093f6470604cca24cefd26771a9a6876353 Mon Sep 17 00:00:00 2001 From: Anders Broman Date: Thu, 8 Nov 2007 22:49:03 +0000 Subject: Apply yet another set of the optimization patches: -set_str2add_str_val_to_str svn path=/trunk/; revision=23406 --- epan/dissectors/packet-kpasswd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'epan/dissectors/packet-kpasswd.c') diff --git a/epan/dissectors/packet-kpasswd.c b/epan/dissectors/packet-kpasswd.c index 633e1da05d..573f13b2d3 100644 --- a/epan/dissectors/packet-kpasswd.c +++ b/epan/dissectors/packet-kpasswd.c @@ -148,7 +148,7 @@ dissect_kpasswd_user_data_reply(packet_info *pinfo, tvbuff_t *tvb, proto_tree *t proto_tree_add_uint(tree, hf_kpasswd_result, tvb, offset, 2, result); offset+=2; if (check_col(pinfo->cinfo, COL_INFO)) - col_set_str(pinfo->cinfo, COL_INFO, + col_add_str(pinfo->cinfo, COL_INFO, val_to_str(result, kpasswd_result_types, "Result: %u")); @@ -244,7 +244,7 @@ dissect_kpasswd_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gboo proto_tree_add_uint(kpasswd_tree, hf_kpasswd_message_len, tvb, offset, 2, message_len); proto_tree_add_uint(kpasswd_tree, hf_kpasswd_version, tvb, offset+2, 2, version); if (check_col(pinfo->cinfo, COL_INFO)) - col_set_str(pinfo->cinfo, COL_INFO, val_to_str(version, vers_vals, "Unknown command")); + col_add_str(pinfo->cinfo, COL_INFO, val_to_str(version, vers_vals, "Unknown command")); proto_tree_add_uint(kpasswd_tree, hf_kpasswd_ap_req_len, tvb, offset+4, 2, ap_req_len); offset+=6; -- cgit v1.2.3