diff options
author | krj <krj@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-08-09 07:01:26 +0000 |
---|---|---|
committer | krj <krj@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-08-09 07:01:26 +0000 |
commit | 12ad4f1ac919095cc620eb4bdaa341823a687de8 (patch) | |
tree | d037fcc527744affba9a5d599723b9be8f4f6d2c /epan/dissectors/packet-mpls-echo.c | |
parent | a4ec6151729e7f8d37fca4b16909635b0fe11996 (diff) |
Don't guard col_set_str (COL_INFO) with col_check
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29342 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-mpls-echo.c')
-rw-r--r-- | epan/dissectors/packet-mpls-echo.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/epan/dissectors/packet-mpls-echo.c b/epan/dissectors/packet-mpls-echo.c index 698bd1304e..3514f88afc 100644 --- a/epan/dissectors/packet-mpls-echo.c +++ b/epan/dissectors/packet-mpls-echo.c @@ -996,8 +996,7 @@ dissect_mpls_echo(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) /* The minimum fixed part of the packet is 16 Bytes or 32 Bytes depending on Msg Type */ if( ((!MSGTYPE_MPLS_ECHO(msgtype)) && (rem < 16)) || ((MSGTYPE_MPLS_ECHO(msgtype)) && (rem < 32)) ) { - if( check_col(pinfo->cinfo, COL_INFO) ) - col_set_str(pinfo->cinfo, COL_INFO, "Malformed Message"); + col_set_str(pinfo->cinfo, COL_INFO, "Malformed Message"); if(tree) { ti = proto_tree_add_item(tree, proto_mpls_echo, tvb, 0, -1, FALSE); mpls_echo_tree = proto_item_add_subtree(ti, ett_mpls_echo); |