Hi,
Phew.. got sidetracked to Seattle for a while :-)
One last patch before I take some XMAS holidays.
idl2eth.diff - Patch for ethereal_gen.py to use the leaner "pinfo->cinfo"
code in the template, instead of "pinfo->fd".
Twas diffed against the 2001-12-17 nightly CVS tarball
Cheers and Happy holidays/coding/sleeping/eating/etc.....
/Frank
ps: Should have recursive unions and structs finished EARLY in the
new year, hang in there :-) and keep the CORBA feedback coming!
--
EUS/SV/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).
--- ethereal_gen.py 2001/12/17 19:30:12 1.1
+++ ethereal_gen.py 2001/12/17 19:34:59 1.2
@@ -1,6 +1,6 @@
# -*- python -*-
#
-# $Id: ethereal_gen.py,v 1.1 2001/12/17 19:30:12 frank Exp $
+# $Id: ethereal_gen.py,v 1.2 2001/12/17 19:34:59 frank Exp $
#
# ethereal_gen.py (part of idl2eth)
#
@@ -2113,8 +2113,8 @@
pinfo->current_proto = \"@disprot@\";
- if (check_col(pinfo->fd, COL_PROTOCOL))
- col_add_str(pinfo->fd, COL_PROTOCOL, \"@disprot@\");
+ if (check_col(pinfo->cinfo, COL_PROTOCOL))
+ col_add_str(pinfo->cinfo, COL_PROTOCOL, \"@disprot@\");
if (ptree) {
ti = proto_tree_add_item(ptree, proto_@dissname@, tvb, *offset, tvb_length(tvb) - *offset, FALSE);