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

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

From: obiot@xxxxxxxxxxxx (Olivier Biot)
Date: Sat, 10 Jan 2004 08:57:37 -0600 (CST)
obiot       2004/01/10 08:57:37 CST

  Modified files:
    .                    packet-ldp.c 
  Log:
  Pointed out by Joerg Mayer:
  
  The LDP dissector uses a pointer-to-func for the translation of addresses
  to text. Replace the void * and obscure type casts with a storage class
  definition for such a function, and type cast its argument in the cases
  where it is not a const guint8 * anymore (e.g., IPv6 address).
  
  Add a default type-casting function for unhandled cases.
  
  Fix signedness complaint of the TCP and UDP port preferences for LDP.
  
  Revision  Changes    Path
  1.49      +23 -11    ethereal/packet-ldp.c