Sync with NetBSD: chlamydia/vendor/TNFTP
authorPeter Avalos <pavalos@dragonflybsd.org>
Sat, 17 May 2008 21:46:19 +0000 (21:46 +0000)
committerPeter Avalos <pavalos@dragonflybsd.org>
Sat, 17 May 2008 21:46:19 +0000 (21:46 +0000)
commitfa70ef36bdac8229a2e2cf35b3cfc3444d787343
tree63d454025b88d7598e35084a107ce37a58e6b612
parent3b706bf0fb5e605dc3c5001caa23f0bb3fc96f5a
Sync with NetBSD:

Use the service name to getaddrinfo() (along with the host name), so that
features such as DNS Service Discovery have a better chance of working.

Display the service name in various status & error messages.

Don't getservbyname() the :port component of a URL; RFC 3986 says it's
just an unsigned number, not a service name.

Only attempt to el_parse() a command unknown by the default parser
if editing is enabled.
Fixes NetBSD PR bin/38589

Add epsv6 and epsv to disable extended passive mode for ipv6 or both ipv4
and ipv6 respectively.
13 files changed:
contrib/tnftp/cmds.c
contrib/tnftp/cmdtab.c
contrib/tnftp/complete.c
contrib/tnftp/extern.h
contrib/tnftp/fetch.c
contrib/tnftp/ftp.1
contrib/tnftp/ftp.c
contrib/tnftp/ftp_var.h
contrib/tnftp/main.c
contrib/tnftp/progressbar.c
contrib/tnftp/progressbar.h
contrib/tnftp/util.c
contrib/tnftp/version.h