1*4882a593SmuzhiyunUpstream-Status: Inappropriate [configuration]
2*4882a593Smuzhiyun
3*4882a593Smuzhiyunproftpd tries to get the IP address from the hostname.
4*4882a593SmuzhiyunUnluckily now the hostname is not properly configured in /etc/hosts.
5*4882a593SmuzhiyunWe can use this patch as a workaround.
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunAuthor: Dexuan Cui <dexuan.cui@intel.com>
8*4882a593SmuzhiyunTue Oct 25 12:59:27 CST 2011
9*4882a593Smuzhiyun
10*4882a593Smuzhiyun--- proftpd-1.3.3c.orig/sample-configurations/basic.conf
11*4882a593Smuzhiyun+++ proftpd-1.3.3c/sample-configurations/basic.conf
12*4882a593Smuzhiyun@@ -7,6 +7,9 @@
13*4882a593Smuzhiyun ServerType			standalone
14*4882a593Smuzhiyun DefaultServer			on
15*4882a593Smuzhiyun
16*4882a593Smuzhiyun+#By default we bind to all interfaces.
17*4882a593Smuzhiyun+DefaultAddress      0.0.0.0
18*4882a593Smuzhiyun+
19*4882a593Smuzhiyun # Port 21 is the standard FTP port.
20*4882a593Smuzhiyun Port				21
21*4882a593Smuzhiyun
22