Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-lapb.c packet-lapbether.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, 28 Dec 2000 20:27:22 -0600 (CST)
guy         2000/12/28 20:27:22 CST

  Modified files:
    .                    packet-lapb.c packet-lapbether.c 
  Log:
  "dissect_lapb()" is static to "packet-lapb.c", so it can't be directly
  called by "dissect_lapbether()".  "packet-lapbether.c" included
  "packet-lapb.h", to get "dissect_lapb()" declared, but that header file
  doesn't exist.
  
  Dissectors should call other dissectors indirectly, so have the LAPB
  dissector register itself and have the LAPB-over-Ethernet dissector get
  that handle and call the LAPB dissector through that handle, rather than
  making the LAPB dissector non-static and adding a "packet-lapb.h" header
  to declare it.
  
  Remove some unnecessary includes from "packet-lapbether.c".
  
  Revision  Changes    Path
  1.25      +4 -2      ethereal/packet-lapb.c
  1.2       +11 -7     ethereal/packet-lapbether.c