diff options
author | krj <krj@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-09-23 14:59:22 +0000 |
---|---|---|
committer | krj <krj@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-09-23 14:59:22 +0000 |
commit | a1ee75aca2dba9e98c8774874d638b7b300f89af (patch) | |
tree | 0461cbd18a5106cb4eb36dd4447cec018ac99ebe /epan/dissectors/packet-zep.c | |
parent | f64b09bc54f971df44a190636269004da1934bc1 (diff) |
Don't col_clear(COL_PROTOCOL) followed by col_set_str(COL_PROTOCOL). A col_set_str() will clear (replace) any existing string (the fence still needs to be respected though)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30090 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-zep.c')
-rw-r--r-- | epan/dissectors/packet-zep.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/epan/dissectors/packet-zep.c b/epan/dissectors/packet-zep.c index cf1d43ad54..07ba4b1d40 100644 --- a/epan/dissectors/packet-zep.c +++ b/epan/dissectors/packet-zep.c @@ -193,7 +193,6 @@ static void dissect_zep(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) /* Enter name info protocol field */ if(check_col(pinfo->cinfo, COL_PROTOCOL)){ - col_clear(pinfo->cinfo, COL_PROTOCOL); col_set_str(pinfo->cinfo, COL_PROTOCOL, (zep_data.version==1)?"ZEP":"ZEPv2"); } |