Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-ftp.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: Sun, 2 Sep 2001 22:12:02 -0500 (CDT)
guy         2001/09/02 22:12:02 CDT

  Modified files:
    .                    packet-ftp.c 
  Log:
  Get the IP address, as well as the port, from a PASV reply, and use it
  rather than the address from which the PASV reply came when setting up a
  conversation.
  
  Don't compare the reply code with "227" unless the reply code is 3
  characters long.
  
  Set up the conversation for a PASV response only if we haven't already
  processed the packet (and thus haven't already set up the conversation).
  
  Revision  Changes    Path
  1.33      +32 -24    ethereal/packet-ftp.c