aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-01-26 23:18:31 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-01-26 23:18:31 +0000
commit2415724d5fd3143b87c2bbafdc1f780c5a402dcc (patch)
treecda1f685494ceee51893769c2e15ddddcae23f00 /tests
parent5463177f1f11ac66c46a14cb3b8b48bc0e551b3f (diff)
Make the server ignore the given PORT address, to make it possible to test
curl's -P option easier.
Diffstat (limited to 'tests')
-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;