aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-vrrp.c
diff options
context:
space:
mode:
authorMartin Kaiser <wireshark@kaiser.cx>2013-05-11 15:30:21 +0000
committerMartin Kaiser <wireshark@kaiser.cx>2013-05-11 15:30:21 +0000
commitf4791151a75a89af62ed4302fe95175b0b355880 (patch)
treef816a4e3cd892b4efc582a459294956c204a132d /epan/dissectors/packet-vrrp.c
parent33aebb47564ad1f9a51d289e290a1fd645f07139 (diff)
col_add_fstr() does not need check_col()
svn path=/trunk/; revision=49246
Diffstat (limited to 'epan/dissectors/packet-vrrp.c')
-rw-r--r--epan/dissectors/packet-vrrp.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/epan/dissectors/packet-vrrp.c b/epan/dissectors/packet-vrrp.c
index 5ab6f39495..8d0e26f833 100644
--- a/epan/dissectors/packet-vrrp.c
+++ b/epan/dissectors/packet-vrrp.c
@@ -99,10 +99,8 @@ dissect_vrrp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
col_clear(pinfo->cinfo, COL_INFO);
ver_type = tvb_get_guint8(tvb, 0);
- if (check_col(pinfo->cinfo, COL_INFO)) {
- col_add_fstr(pinfo->cinfo, COL_INFO, "%s (v%u)",
- "Announcement", hi_nibble(ver_type));
- }
+ col_add_fstr(pinfo->cinfo, COL_INFO, "%s (v%u)",
+ "Announcement", hi_nibble(ver_type));
if (tree) {
proto_item *ti, *tv;