aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoakim Karlsson <oakimk@gmail.com>2018-09-13 12:10:28 +0800
committerAnders Broman <a.broman58@gmail.com>2018-09-13 05:06:58 +0000
commit26d4ad2fa8fc9bd16ac9479109f05a7627828bd4 (patch)
treea9dafb7f461efb55e86d3242161f475c49f5dcb0
parentc3cf33d1ef37a7cb9901d7c1310fd776a73a198f (diff)
gtp: move column append outside IF brackets
Column appended never happen on IPv4/IPv6 since latest refactor Change-Id: Icc85cfa8136386a440b226959f9df4a980a2658e Reviewed-on: https://code.wireshark.org/review/29644 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
-rw-r--r--epan/dissectors/packet-gtp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-gtp.c b/epan/dissectors/packet-gtp.c
index 479719f..c3b1b8a 100644
--- a/epan/dissectors/packet-gtp.c
+++ b/epan/dissectors/packet-gtp.c
@@ -9428,9 +9428,9 @@ dissect_gtp_common(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
call_dissector(ppp_handle, next_tvb, pinfo, tree);
#endif
proto_tree_add_item(tree, hf_gtp_tpdu_data, tvb, offset, -1, ENC_NA);
- col_prepend_fstr(pinfo->cinfo, COL_PROTOCOL, "GTP <");
- col_append_str(pinfo->cinfo, COL_PROTOCOL, ">");
}
+ col_prepend_fstr(pinfo->cinfo, COL_PROTOCOL, "GTP <");
+ col_append_str(pinfo->cinfo, COL_PROTOCOL, ">");
break;
case GTP_TPDU_AS_PDCP_LTE:
if (tvb_reported_length_remaining(tvb, offset) > 0) {