Wireshark-bugs: [Wireshark-bugs] [Bug 1126] New: check_col returning false when it shouldn't

Date: Wed, 27 Sep 2006 15:06:38 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1126

           Summary: check_col returning false when it shouldn't
           Product: Wireshark
           Version: 0.99.4
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Major
          Priority: High
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: phantal@xxxxxxxxx


Build Information:
--
--
A little background ...

  I'm writing a dissector that relies on the http dissector.  The server's I'll
be monitoring use ssl, so there's a requirement to use the ssl dissector to
decrypt the packets and hand them off to the http dissector.

-=Description of problem=-
  Requests & responses are both treated properly during dissection, so that
isn't an issue.  That is, with one caveat:  for some reason, the following code
never causes the columns to be changed in my dissector, and it also seems to
fail to do the same thing in the http dissector:

if (check_col (pinfo->cinfo, COL_PROTOCOL))
  col_set_str (pinfo->cinfo, COL_PROTOCOL, "ABBRV");

if (check_col (pinfo->cinfo, COL_INFO))
  col_set_str (pinfo->cinfo, COL_INFO, "Some info");

  The columns continue to say:

Protocol: TLSv1
Info: [SSL segment of a reassembled PDU]


-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.