diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-05-30 07:48:23 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-05-30 07:48:23 +0000 |
commit | 31199a53a554a9d23a973456c82c7656a6eca15c (patch) | |
tree | 86fce4647ad2bb0056edb0ad2ffbe8f4fe560858 /packet-bacapp.c | |
parent | 9fe2133a20f5db29e507020c2bcc1b80fa35539a (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.
svn path=/trunk/; revision=3480
Diffstat (limited to 'packet-bacapp.c')
-rw-r--r-- | packet-bacapp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/packet-bacapp.c b/packet-bacapp.c index aa00c2b52e..f455c60416 100644 --- a/packet-bacapp.c +++ b/packet-bacapp.c @@ -2,7 +2,7 @@ * Routines for BACnet (APDU) dissection * Copyright 2001, Hartmut Mueller <hartmut@abmlinux.org>, FH Dortmund * - * $Id: packet-bacapp.c,v 1.2 2001/04/20 20:34:28 guy Exp $ + * $Id: packet-bacapp.c,v 1.3 2001/05/30 07:48:23 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -78,7 +78,6 @@ dissect_bacapp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) guint8 bacapp_type; tvbuff_t *next_tvb; - pinfo->current_proto = "BACapp"; if (check_col(pinfo->fd, COL_PROTOCOL)) col_set_str(pinfo->fd, COL_PROTOCOL, "BACnet-APDU"); if (check_col(pinfo->fd, COL_INFO)) |