Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal packet-udp.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: Fri, 25 Jun 1999 02:15:06 -0500 (CDT)
guy         1999/06/25 02:15:04 CDT

  Modified files:
    .                    packet-udp.c 
  Log:
  When checking to see if a packet is of a given type by checking the
  source and destination port numbers, check both port numbers against the
  specified port, rather than checking the lower of the two port numbers
  against the specified port, just in case you happen to either have
  
  	1) the port number for that type being high enough that you can
  	   get client sockets using it
  
  or
  
  	2) client sockets using it for some other reason.
  
  Revision  Changes    Path
  1.18      +14 -25    ethereal/packet-udp.c