Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-gtp.c packet-wcp.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:10 -0500 (CDT)
guy         2001/04/10 14:10:09 CDT

  Modified files:
    .                    packet-gtp.c packet-wcp.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.3       +13 -1     ethereal/packet-gtp.c
  1.9       +14 -1     ethereal/packet-wcp.c