aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-pagp.c
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2015-11-26 08:25:32 -0500
committerMichael Mann <mmann78@netscape.net>2015-11-27 05:00:37 +0000
commit10261d120283cb739118fa7178b4e911ed72de14 (patch)
tree034d43a2eb1757d37cf9cc1453de9b815e0ad2bc /epan/dissectors/packet-pagp.c
parente2d5089cb9ad555bc0361768a5eaf24b3bd1379c (diff)
Remove manual setting of pinfo->current_proto.
Calling a protocol dissection function will properly set/restore pinfo->current_proto, so there's no need to duplicate it. Change-Id: Ic2ec0b35fa4d46a98f3410bf238056425076e4a9 Reviewed-on: https://code.wireshark.org/review/12205 Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-pagp.c')
-rw-r--r--epan/dissectors/packet-pagp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/epan/dissectors/packet-pagp.c b/epan/dissectors/packet-pagp.c
index 80020bb1d8..6bcda313a1 100644
--- a/epan/dissectors/packet-pagp.c
+++ b/epan/dissectors/packet-pagp.c
@@ -175,8 +175,6 @@ dissect_pagp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_
col_clear(pinfo->cinfo, COL_INFO);
- pinfo->current_proto = "PAGP";
-
raw_octet = tvb_get_guint8(tvb, PAGP_VERSION_NUMBER);
if (tree) {
pagp_item = proto_tree_add_protocol_format(tree, proto_pagp, tvb,