Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-socks.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: Tue, 30 Oct 2001 04:40:39 -0600 (CST)
guy         2001/10/30 04:40:38 CST

  Modified files:
    .                    packet-socks.c 
  Log:
  IPv4 addresses should be entered in host byte order, not forced
  little-endian byte order.
  
  Use "proto_tree_add_item()" wherever possible.
  
  Get rid of line commented out with a C++ comment, as not all C compilers
  accept C++ comments.
  
  Don't put the user name into the protocol tree if it's not there (we
  really should do TCP segment reassembly for this, but this is at least a
  good first cut).
  
  When checking whether data exists in the packet, use
  "tvb_offset_exists()", don't compare the offset in the tvbuf with
  "pinfo->len" - "pinfo->len" is the length of the entire packet, not of
  the tvbuff.
  
  Fix some references to "pi" to refer to "*pinfo" instead.
  
  Revision  Changes    Path
  1.26      +44 -33    ethereal/packet-socks.c