diff options
author | Michael Mann <mmann78@netscape.net> | 2015-11-26 08:25:32 -0500 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2015-11-27 05:00:37 +0000 |
commit | 10261d120283cb739118fa7178b4e911ed72de14 (patch) | |
tree | 034d43a2eb1757d37cf9cc1453de9b815e0ad2bc /plugins | |
parent | e2d5089cb9ad555bc0361768a5eaf24b3bd1379c (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 'plugins')
-rw-r--r-- | plugins/irda/packet-irda.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/plugins/irda/packet-irda.c b/plugins/irda/packet-irda.c index 04f7f26116..e1e1d9dae9 100644 --- a/plugins/irda/packet-irda.c +++ b/plugins/irda/packet-irda.c @@ -1855,9 +1855,6 @@ static void dissect_irlap(tvbuff_t* tvb, packet_info* pinfo, proto_tree* root) */ static int dissect_irda(tvbuff_t* tvb, packet_info* pinfo, proto_tree* root, void* data _U_) { - /* load the display labels */ - pinfo->current_proto = "IrDA"; - /* check if log message */ if ((pinfo->pseudo_header->irda.pkttype & IRDA_CLASS_MASK) == IRDA_CLASS_LOG) { |