Not sure if this is the correct fix. ftpfs to a tiny embedded
ftp server which doesn't support PASV (rare these days) provokes
the use of PORT. PORT replies with the IP address of 0.0.0.0
This is due to the contents of /net/tcp/n/local (after announce())
being ::!29274 (missing IP address).
Maybe this is history? Perhaps announce used to give the local address
before connection and now either doesn't or only does after the
connection is successfull; the port is correct though.
My fix is to use myipaddr() to fetch the IP address, which works.
-Steve
|