Now that the GIOP dissector sets "pinfo->current_proto" before calling

subdissectors, the subdissectors don't have to set it themselves.

svn path=/trunk/; revision=4417
This commit is contained in:
Guy Harris 2001-12-17 22:51:42 +00:00
parent 3c2c59b9c9
commit ee04f7826f
3 changed files with 1 additions and 7 deletions

View File

@ -1,6 +1,6 @@
# -*- python -*-
#
# $Id: ethereal_gen.py,v 1.17 2001/12/17 22:31:42 guy Exp $
# $Id: ethereal_gen.py,v 1.18 2001/12/17 22:51:42 guy Exp $
#
# ethereal_gen.py (part of idl2eth)
#
@ -2111,8 +2111,6 @@ static gboolean dissect_@dissname@(tvbuff_t *tvb, packet_info *pinfo, proto_tree
gboolean be; /* big endianess */
guint32 offset_saved = (*offset); /* save in case we must back out */
pinfo->current_proto = \"@disprot@\";
if (check_col(pinfo->cinfo, COL_PROTOCOL))
col_set_str(pinfo->cinfo, COL_PROTOCOL, \"@disprot@\");

View File

@ -648,8 +648,6 @@ static gboolean dissect_coseventcomm(tvbuff_t *tvb, packet_info *pinfo, proto_tr
gboolean be; /* big endianess */
guint32 offset_saved = (*offset); /* save in case we must back out */
pinfo->current_proto = "COSEVENTCOMM";
if (check_col(pinfo->cinfo, COL_PROTOCOL))
col_add_str(pinfo->cinfo, COL_PROTOCOL, "COSEVENTCOMM");

View File

@ -1683,8 +1683,6 @@ static gboolean dissect_cosnaming(tvbuff_t *tvb, packet_info *pinfo, proto_tree
gboolean be; /* big endianess */
guint32 offset_saved = (*offset); /* save in case we must back out */
pinfo->current_proto = "COSNAMING";
if (check_col(pinfo->cinfo, COL_PROTOCOL))
col_add_str(pinfo->cinfo, COL_PROTOCOL, "COSNAMING");