Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal packet.c packet.h

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

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Fri, 11 Aug 2000 19:15:48 -0500 (CDT)
guy         2000/08/11 19:15:45 CDT

  Modified files:
    .                    packet.c packet.h 
  Log:
  "p_get_proto_data()" should, if it finds an entry, return the pointer
  supplied in the "p_add_proto_data()" call that created the entry, not
  the pointer to the data structure that holds the protocol and data
  arguments to "p_add_proto_data()" (the protocol is uninteresting, as
  its value is the value supplied as the "proto" argument to
  "p_get_proto_data()".
  
  The "frame_proto_data" structure isn't needed outside the code that
  handles it; remove its definition from "packet.h" and put it in
  "packet.c".
  
  Revision  Changes    Path
  1.99      +13 -3     ethereal/packet.c
  1.194     +1 -6      ethereal/packet.h