diff options
author | Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com> | 2009-08-09 06:26:46 +0000 |
---|---|---|
committer | Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com> | 2009-08-09 06:26:46 +0000 |
commit | e971354a546be5efc284c72e49689a2e337bc198 (patch) | |
tree | 13a89a4bf6146b1bbe2afde85c3544eee651ca78 /epan/dissectors/packet-etherip.c | |
parent | fc067ab9104d12f3683c8f112250b8523260b77f (diff) | |
download | wireshark-e971354a546be5efc284c72e49689a2e337bc198.tar.gz wireshark-e971354a546be5efc284c72e49689a2e337bc198.tar.bz2 wireshark-e971354a546be5efc284c72e49689a2e337bc198.zip |
Don't guard col_set_str (COL_PROTOCOL) with col_check
svn path=/trunk/; revision=29340
Diffstat (limited to 'epan/dissectors/packet-etherip.c')
-rw-r--r-- | epan/dissectors/packet-etherip.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/epan/dissectors/packet-etherip.c b/epan/dissectors/packet-etherip.c index 846039bacf..0a194a8721 100644 --- a/epan/dissectors/packet-etherip.c +++ b/epan/dissectors/packet-etherip.c @@ -67,8 +67,7 @@ dissect_etherip(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) proto_tree *etherip_tree; proto_item *ti; - if (check_col(pinfo->cinfo, COL_PROTOCOL)) - col_set_str(pinfo->cinfo, COL_PROTOCOL, "ETHERIP"); + col_set_str(pinfo->cinfo, COL_PROTOCOL, "ETHERIP"); /* Copy out the etherip header to insure alignment */ tvb_memcpy(tvb, (guint8 *)ðeriph, 0, sizeof(etheriph)); |