avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ran...@apache.org
Subject cvs commit: jakarta-avalon-apps/ftpserver/src/java/org/apache/avalon/ftpserver FtpServerImpl.java
Date Mon, 20 Jan 2003 15:17:48 GMT
rana_b      2003/01/20 07:17:48

  Modified:    ftpserver/src/java/org/apache/avalon/ftpserver
                        FtpServerImpl.java
  Log:
  making it firewall friendly
  
  Revision  Changes    Path
  1.17      +1 -2      jakarta-avalon-apps/ftpserver/src/java/org/apache/avalon/ftpserver/FtpServerImpl.java
  
  Index: FtpServerImpl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-apps/ftpserver/src/java/org/apache/avalon/ftpserver/FtpServerImpl.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- FtpServerImpl.java	22 May 2002 20:41:35 -0000	1.16
  +++ FtpServerImpl.java	20 Jan 2003 15:17:48 -0000	1.17
  @@ -60,7 +60,6 @@
       private ServerSocket mServerSocket    = null;
       private SocketManager mSocManager     = null;
       private ConnectionManager mConManager = null;
  -//    private ServiceManager mServiceManager = null;
       private BlockContext mContext         = null;
       private FtpConfig mConfig             = null;
   
  @@ -113,7 +112,7 @@
   
               // open server socket
               ServerSocketFactory factory = mSocManager.getServerSocketFactory("plain");
  -            InetAddress serverAddress = mConfig.getServerAddress();
  +            InetAddress serverAddress = mConfig.getSelfAddress();
               if(serverAddress == null) {
                   mServerSocket = factory.createServerSocket(mConfig.getServerPort(), 5);
               }
  
  
  

--
To unsubscribe, e-mail:   <mailto:avalon-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@jakarta.apache.org>


Mime
View raw message