summaryrefslogtreecommitdiff
path: root/asn1/nbap/packet-nbap-template.c
diff options
context:
space:
mode:
Diffstat (limited to 'asn1/nbap/packet-nbap-template.c')
-rw-r--r--asn1/nbap/packet-nbap-template.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/asn1/nbap/packet-nbap-template.c b/asn1/nbap/packet-nbap-template.c
index 4e45e34a02..6f396e5899 100644
--- a/asn1/nbap/packet-nbap-template.c
+++ b/asn1/nbap/packet-nbap-template.c
@@ -119,8 +119,7 @@ dissect_nbap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
proto_tree *nbap_tree = NULL;
/* make entry in the Protocol column on summary display */
- if (check_col(pinfo->cinfo, COL_PROTOCOL))
- col_set_str(pinfo->cinfo, COL_PROTOCOL, "NBAP");
+ col_set_str(pinfo->cinfo, COL_PROTOCOL, "NBAP");
/* create the nbap protocol tree */
nbap_item = proto_tree_add_item(tree, proto_nbap, tvb, 0, -1, FALSE);