diff options
author | Anders Broman <anders.broman@ericsson.com> | 2010-03-03 13:52:17 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2010-03-03 13:52:17 +0000 |
commit | aaa917be72c8dda8ea9e347205a927b9723adeca (patch) | |
tree | ea1266e75cb517db17e3875e169e7307677bb8ec /epan/dissectors/packet-2dparityfec.c | |
parent | 80d7644409d9f3dea528403ec6e0e4351fb7ed3f (diff) |
remove check_col
svn path=/trunk/; revision=32089
Diffstat (limited to 'epan/dissectors/packet-2dparityfec.c')
-rw-r--r-- | epan/dissectors/packet-2dparityfec.c | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/epan/dissectors/packet-2dparityfec.c b/epan/dissectors/packet-2dparityfec.c index c200e3efe7..a69b5f90e6 100644 --- a/epan/dissectors/packet-2dparityfec.c +++ b/epan/dissectors/packet-2dparityfec.c @@ -121,19 +121,16 @@ static void dissect_2dparityfec(tvbuff_t *tvb, packet_info *pinfo, proto_tree *t col_set_str(pinfo->cinfo, COL_PROTOCOL, "2dFEC"); /* Configure the info column */ - if(check_col(pinfo->cinfo, COL_INFO)) - { - if(D) - { - col_add_fstr(pinfo->cinfo, COL_INFO, "Row FEC - SNBase=%u, Offset=%u, NA=%u", - SNBase, OffsetField, NAField); - } - else - { - col_add_fstr(pinfo->cinfo, COL_INFO, "Column FEC - SNBase=%u, Offset=%u, NA=%u", - SNBase, OffsetField, NAField); - } - } + if(D) + { + col_add_fstr(pinfo->cinfo, COL_INFO, "Row FEC - SNBase=%u, Offset=%u, NA=%u", + SNBase, OffsetField, NAField); + } + else + { + col_add_fstr(pinfo->cinfo, COL_INFO, "Column FEC - SNBase=%u, Offset=%u, NA=%u", + SNBase, OffsetField, NAField); + } if(tree) { |