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

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: Thu, 9 Dec 1999 15:58:11 -0600 (CST)
guy         1999/12/09 15:58:08 CST

  Modified files:
    .                    packet-ip.c 
  Log:
  Thou Shalt Not Cast Pointers Into A Packet To Pointers To Anything
  Bigger Than A Byte, as there's no guarantee that the pointer is aligned
  the way you'd like (consider, for example, FDDI packets, which may be
  aligned on an *odd-byte* boundary).
  
  Revision  Changes    Path
  1.66      +7 -5      ethereal/packet-ip.c