aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ipmi.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2010-01-13 20:25:10 +0000
committerAnders Broman <anders.broman@ericsson.com>2010-01-13 20:25:10 +0000
commitc4dd31cd8792c964cc6e0fa9bfc6ed03caa9aeb7 (patch)
tree3f74d12b3e1f71d1d0116091ca8cddf53479683a /epan/dissectors/packet-ipmi.c
parent37cb4333a449ef51fd9eab22b22713e4ba277f9b (diff)
From Didier Gautheron:
col_clear.diff Remove calls to col_clear : - called twice. - before functions which also clear the column - by replacing col_clear + col_append_xxx with col_add_xxx https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4394 svn path=/trunk/; revision=31517
Diffstat (limited to 'epan/dissectors/packet-ipmi.c')
-rw-r--r--epan/dissectors/packet-ipmi.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/epan/dissectors/packet-ipmi.c b/epan/dissectors/packet-ipmi.c
index 3118f0cfe5..2e7a8e09fd 100644
--- a/epan/dissectors/packet-ipmi.c
+++ b/epan/dissectors/packet-ipmi.c
@@ -1368,10 +1368,7 @@ dissect_ipmi(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
dfmt.flags = IPMI_D_BROADCAST | IPMI_D_TRG_SA;
ipmi_do_dissect(tvb, ipmi_tree, &dfmt);
- if (check_col(pinfo->cinfo, COL_INFO)) {
- col_clear(pinfo->cinfo, COL_INFO);
- col_add_str(pinfo->cinfo, COL_INFO, dfmt.info);
- }
+ col_add_str(pinfo->cinfo, COL_INFO, dfmt.info);
}