ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Ethereal-users: Re: [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: Guy Harris <guy@xxxxxxxxxx>
Date: Tue, 11 Jun 2002 23:16:59 -0700
On Tue, Jun 11, 2002 at 11:12:51PM -0700, Jaime Fournier wrote:
> 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?

	if (check_col(pinfo->cinfo, COL_INFO))
	    col_add_fstr(pinfo->cinfo, COL_INFO,
	        "Interface Type: %u ", hf_epm_inquiry_type);

as it is, after all, an unsigned integer.  "col_add_fstr()" is like
"printf()"....