diff options
Diffstat (limited to 'tests/ftpserver.pl')
-rw-r--r-- | tests/ftpserver.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ftpserver.pl b/tests/ftpserver.pl index c5268ca13..c98b752ae 100644 --- a/tests/ftpserver.pl +++ b/tests/ftpserver.pl @@ -112,6 +112,7 @@ do { } elsif($ARGV[0] eq "--addr") { $listenaddr = $ARGV[1]; + $listenaddr =~ s/^\[(.*)\]$/\1/; shift @ARGV; } } while(shift @ARGV); |