Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-ppp.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: Thu, 29 Mar 2001 03:18:34 -0600 (CST)
guy         2001/03/29 03:18:34 CST

  Modified files:
    .                    packet-ppp.c 
  Log:
  Have "dissect_ppp_stuff()" set the Protocol column for unknown
  protocols; this obviates the need for "dissect_ppp()" to look at the
  protocol field at all.
  
  Have "dissect_ppp_stuff()" add the length of the protocol field to the
  length of the top-level protocol tree item, as only it knows how long
  the field is.
  
  Have "dissect_mp()" call "dissect_ppp_payload()", rather than
  duplicating what "dissect_ppp_payload()" does itself.
  
  Don't fetch the address and control fields in "dissect_ppp()" until
  you're ready to put them into the protocol tree.
  
  Revision  Changes    Path
  1.58      +57 -53    ethereal/packet-ppp.c