Ethereal-users: [Ethereal-users] COL_INFO question.

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

From: Jaime Fournier <jafour1@xxxxxxxxx>
Date: Tue, 11 Jun 2002 23:12:51 -0700 (PDT)
I am trying to print out a value from inside a
disector onto the COL_INFO line.
For example on 
packet-dcerpc-epm.c
In the function "epm_dissect_ept_lookup_rqst" I am
trying to do this
if (check_col(pinfo->cinfo, COL_INFO))
            col_add_fstr(pinfo->cinfo, COL_INFO,
"Interface Type: %s ", hf_epm_inquiry_type);

Obviously this does not work.
What do I have to do to print out hf_epm_inquiry_type
value on the COL_INFO as it is in the expanded tree
format?

Any help would be greatly appreciated!

Thanks!


=====
Jaime Fournier

__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com