From 31199a53a554a9d23a973456c82c7656a6eca15c Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Wed, 30 May 2001 07:48:23 +0000 Subject: 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 --- packet-bacapp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'packet-bacapp.c') 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 , 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 @@ -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)) -- cgit v1.2.3