Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/epan proto.c

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

From: Guy Harris <guy@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 10 Apr 2001 14:10:11 -0500 (CDT)
guy         2001/04/10 14:10:10 CDT

  Modified files:
    epan                 proto.c 
  Log:
  If the tvbuff pointer is null in "alloc_field_info()", get the data
  source name from "pi.compat_top_tvb", which should always be set to the
  tvbuff that refers to the data that old-style dissectors are currently
  working on.
  
  Arrange that it be so set in those dissectors that create alternate data
  sources and call other dissectors, and also arrange that "pi.len" and
  "pi.captured_len" be set appropriately as well.
  
  Revision  Changes    Path
  1.21      +2 -5      ethereal/epan/proto.c