diff options
Diffstat (limited to 'epan/dissectors/packet-sna.c')
-rw-r--r-- | epan/dissectors/packet-sna.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/epan/dissectors/packet-sna.c b/epan/dissectors/packet-sna.c index f0d1899fd5..d28b116740 100644 --- a/epan/dissectors/packet-sna.c +++ b/epan/dissectors/packet-sna.c @@ -2571,8 +2571,7 @@ dissect_sna(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) proto_tree *sna_tree = NULL; proto_item *sna_ti = NULL; - if (check_col(pinfo->cinfo, COL_PROTOCOL)) - col_set_str(pinfo->cinfo, COL_PROTOCOL, "SNA"); + col_set_str(pinfo->cinfo, COL_PROTOCOL, "SNA"); if (check_col(pinfo->cinfo, COL_INFO)) col_clear(pinfo->cinfo, COL_INFO); @@ -2608,8 +2607,7 @@ dissect_sna_xid(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) proto_tree *sna_tree = NULL; proto_item *sna_ti = NULL; - if (check_col(pinfo->cinfo, COL_PROTOCOL)) - col_set_str(pinfo->cinfo, COL_PROTOCOL, "SNA"); + col_set_str(pinfo->cinfo, COL_PROTOCOL, "SNA"); if (check_col(pinfo->cinfo, COL_INFO)) col_clear(pinfo->cinfo, COL_INFO); |