Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-l2tp.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, 14 Jan 2003 12:57:07 -0600 (CST)
guy         2003/01/14 12:57:07 CST

  Modified files:
    .                    packet-l2tp.c 
  Log:
  Set the length of the L2TP tvbuff based on the length in the L2TP
  header, if present.
  
  Don't explicitly base the length of the subset we hand to the PPP
  dissector on the length in the header, as it might not be present;
  instead, just use -1 for the lengths, as we set the length of our tvbuff
  if there's a length in the L2TP header.
  
  Set the length of the L2TP top-level protocol item for data packets, so
  it covers the L2TP header but not the packet data.
  
  Don't put a padding item into the tree if there's no padding.
  
  Revision  Changes    Path
  1.37      +21 -13    ethereal/packet-l2tp.c