Ethereal-dev: Re: [Ethereal-dev] idl2ethereal and ethereal_py.gen

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Frank Singleton <frank.singleton@xxxxxxxxxxxx>
Date: Fri, 19 Apr 2002 13:13:49 -0500
mika.ju.korpela@xxxxxxxxx wrote:
> 
>         ethereal 0.9.3
> 
>         I have problem decribed below.
>         I change ethereal_gen.py at line 999
> 
>         elif pt ==  idltype.tk_TypeCode: # will I ever get here ?
>                     self.get_CDR_TypeCode(pn)
>                 # self.get_CDR_TypeCode(type,pn)
> 
>         Now I can make plugin from idl ...
> 
>         Is this change ok ???


Hi,

Yes thats ok.

Patch is here ...


--- ethereal_gen.py	2002/04/19 17:56:53	1.1
+++ ethereal_gen.py	2002/04/19 18:02:38	1.3
@@ -1,6 +1,6 @@
 # -*- python -*-
 #
-# $Id: ethereal_gen.py,v 1.1 2002/04/19 17:56:53 frank Exp $
+# $Id: ethereal_gen.py,v 1.3 2002/04/19 18:02:38 frank Exp $
 #                           
 # ethereal_gen.py (part of idl2eth)           
 #
@@ -996,7 +996,7 @@
         elif pt ==  idltype.tk_struct:
             self.get_CDR_struct(type,pn)
         elif pt ==  idltype.tk_TypeCode: # will I ever get here ?
-            self.get_CDR_TypeCode(type,pn)
+            self.get_CDR_TypeCode(pn)
         elif pt == idltype.tk_sequence:
             self.get_CDR_sequence(type,pn)
         elif pt == idltype.tk_objref:



Twas diffed against 2002-04-19 CVS tarball

Cheers / Frank

--

EUS/WV/Z Frank Singleton      ASO Americas BSS
Office : +1 972 583 3251      ECN 800 33251  
Mobile : +1 214 228 0874      Amateur Radio: VK3FCS/KM5WS   
Email : frank.singleton@xxxxxxxxxxxx

Hardware: HP Omnibook 4150 running Redhat Linux 7.1 (2.4.3-12 kernel).