Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-tcp.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, 22 Aug 2002 14:40:04 -0500 (CDT)
guy         2002/08/22 14:40:04 CDT

  Modified files:
    .                    packet-tcp.c 
  Log:
  "CMP_ADDRESS()" is not guaranteed to return 0, 1, or -1, it's just
  guaranteed to return 0, a positive number, or a negative number, based
  on the result of the comparison.  Furthermore, if it returns 0, meaning
  the source and destination addresses are the same, we have to look at
  the port numbers to decide which side of the conversation the frame is
  from.
  
  Revision  Changes    Path
  1.155     +35 -6     ethereal/packet-tcp.c