diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-01-26 23:18:31 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-01-26 23:18:31 +0000 |
commit | 2415724d5fd3143b87c2bbafdc1f780c5a402dcc (patch) | |
tree | cda1f685494ceee51893769c2e15ddddcae23f00 | |
parent | 5463177f1f11ac66c46a14cb3b8b48bc0e551b3f (diff) |
Make the server ignore the given PORT address, to make it possible to test
curl's -P option easier.
-rw-r--r-- | tests/ftpserver.pl | 3 |
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; |