aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/ftpserver.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/ftpserver.pl b/tests/ftpserver.pl
index 422c43097..dca91f508 100644
--- a/tests/ftpserver.pl
+++ b/tests/ftpserver.pl
@@ -488,7 +488,8 @@ sub PORT_command {
print "500 silly you, go away\r\n";
return 0;
}
- my $iaddr = inet_aton("$1.$2.$3.$4");
+ #my $iaddr = inet_aton("$1.$2.$3.$4");
+ my $iaddr = inet_aton("127.0.0.1"); # always use localhost
my $port = ($5<<8)+$6;