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

Wireshark-dev: Re: [Wireshark-dev] Info column display problem

From: Stephen Fisher <stephentfisher@xxxxxxxxx>
Date: Fri, 20 Apr 2007 15:15:12 -0700
On Fri, Apr 20, 2007 at 04:23:13PM +0530, jaiswal.vikash@xxxxxxxxx wrote:

> I'm having a statement as below in my code still the "info" column does
> not display anything .
>  
> if (check_col(pinfo->cinfo, COL_INFO)){
>                 col_set_str(pinfo->cinfo, COL_INFO, "XXX  ");
>                     }

This should work fine.  Is this code within the if(tree) statement?  
When displaying the packet list without colorization turned on, tree is 
not set so it would not work in those cases.


Steve