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-bacnet.c | |
parent | 9fe2133a20f5db29e507020c2bcc1b80fa35539a (diff) | |
download | wireshark-31199a53a554a9d23a973456c82c7656a6eca15c.tar.gz wireshark-31199a53a554a9d23a973456c82c7656a6eca15c.tar.bz2 wireshark-31199a53a554a9d23a973456c82c7656a6eca15c.zip |
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-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"); |