aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-rmt-fec.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2008-10-31 16:06:23 +0000
committerBill Meier <wmeier@newsguy.com>2008-10-31 16:06:23 +0000
commit98256ca547863e45122690858bb7b37ec60fb234 (patch)
tree2f342ed9d4339872fe648a4de8156d020de0c3be /epan/dissectors/packet-rmt-fec.c
parent58e2d7a0d6b075b7b8dc6234604ed8bdeefd0833 (diff)
Revert SVN #26644: The fix is not needed ....
(The funcions writing to COL_INFO are only called after checking if the column is present). svn path=/trunk/; revision=26650
Diffstat (limited to 'epan/dissectors/packet-rmt-fec.c')
-rw-r--r--epan/dissectors/packet-rmt-fec.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/epan/dissectors/packet-rmt-fec.c b/epan/dissectors/packet-rmt-fec.c
index 3a537f5d6b..0592bd6279 100644
--- a/epan/dissectors/packet-rmt-fec.c
+++ b/epan/dissectors/packet-rmt-fec.c
@@ -73,13 +73,11 @@ const value_string string_fec_encoding_id[] =
void fec_info_column(struct _fec *fec, packet_info *pinfo)
{
- if (check_col(pinfo->cinfo, COL_INFO)) {
- if (fec->sbn_present)
- col_append_sep_fstr(pinfo->cinfo, COL_INFO, " ", "SBN: %u", fec->sbn);
+ if (fec->sbn_present)
+ col_append_sep_fstr(pinfo->cinfo, COL_INFO, " ", "SBN: %u", fec->sbn);
- if (fec->esi_present)
- col_append_sep_fstr(pinfo->cinfo, COL_INFO, " ", "ESI: 0x%X", fec->esi);
- }
+ if (fec->esi_present)
+ col_append_sep_fstr(pinfo->cinfo, COL_INFO, " ", "ESI: 0x%X", fec->esi);
}
/* Dissection */