Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/gtk endpoint_talkers_table.c

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

From: Ronnie Sahlberg <sahlberg@xxxxxxxxxxxxxxxxx>
Date: Thu, 4 Sep 2003 20:11:13 -0500 (CDT)
sahlberg    2003/09/04 20:11:13 CDT

  Modified files:
    gtk                  endpoint_talkers_table.c 
  Log:
  For endpoint conversations   change how Endpoint1 and Endpoint two are selected.
  
  Make the selction of what is endpoint 1 and what is endpoint 2
  first check the port (if a port is present it will be !=0) and if
  the ports are present set the lowest port as endpoint2.
  
  If the prots are not present or the ports are identical  then compare the addresses instead.
  
  The idea is that low port numbers usually refer to server daemons
  and this sorting thus usually puts the client as endpoint 1 and the server as endpoint 2.
  It is much more intuitive and makes the table much more readable.
  
  Revision  Changes    Path
  1.15      +12 -16    ethereal/gtk/endpoint_talkers_table.c