diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-05-30 07:48:23 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-05-30 07:48:23 +0000 |
commit | ff0c73d25187b94bea184444693fd896d48766c5 (patch) | |
tree | 86fce4647ad2bb0056edb0ad2ffbe8f4fe560858 /packet-bacnet.c | |
parent | 411ce8b96e88ca681aaabe01de8a3b3c9fd4b872 (diff) |
Get rid of some unnecessary settings of "pinfo->current_proto" - if the
dissector is called only through a handle or dissector table, the code
that handles those calls sets it for you.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3480 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-bacnet.c')
-rw-r--r-- | packet-bacnet.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/packet-bacnet.c b/packet-bacnet.c index 998650bb31..c5ea2731b6 100644 --- a/packet-bacnet.c +++ b/packet-bacnet.c @@ -2,7 +2,7 @@ * Routines for BACnet (NPDU) dissection * Copyright 2001, Hartmut Mueller <hartmut@abmlinux.org>, FH Dortmund * - * $Id: packet-bacnet.c,v 1.2 2001/04/20 20:34:28 guy Exp $ + * $Id: packet-bacnet.c,v 1.3 2001/05/30 07:48:23 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -197,8 +197,6 @@ dissect_bacnet(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) guint8 j; tvbuff_t *next_tvb; - pinfo->current_proto = "BACnet"; - if (check_col(pinfo->fd, COL_PROTOCOL)) col_set_str(pinfo->fd, COL_PROTOCOL, "BACnet-NPDU"); |