diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-12-17 22:51:42 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-12-17 22:51:42 +0000 |
commit | ee04f7826f03e9082fd55484fd860c3ea4bb0b22 (patch) | |
tree | 519c9a93863c211f54ca91d8bcb537cd4d0469c5 /ethereal_gen.py | |
parent | 3c2c59b9c914af94f0e4b1b35ed9a812778bba44 (diff) |
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
Diffstat (limited to 'ethereal_gen.py')
-rw-r--r-- | ethereal_gen.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ethereal_gen.py b/ethereal_gen.py index edcd1d86a6..1a6c4cd731 100644 --- a/ethereal_gen.py +++ b/ethereal_gen.py @@ -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@\"); |