diff options
Diffstat (limited to 'net/tnftp/files/src/cmdtab.c')
-rw-r--r-- | net/tnftp/files/src/cmdtab.c | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/net/tnftp/files/src/cmdtab.c b/net/tnftp/files/src/cmdtab.c index 7ac62cec696..597f26a29ce 100644 --- a/net/tnftp/files/src/cmdtab.c +++ b/net/tnftp/files/src/cmdtab.c @@ -1,8 +1,8 @@ -/* $NetBSD: cmdtab.c,v 1.6 2008/04/29 05:46:09 martin Exp $ */ -/* from NetBSD: cmdtab.c,v 1.47 2007/04/11 04:40:19 lukem Exp */ +/* $NetBSD: cmdtab.c,v 1.7 2014/10/31 18:59:33 spz Exp $ */ +/* from NetBSD: cmdtab.c,v 1.52 2012/12/22 16:57:09 christos Exp */ /*- - * Copyright (c) 1996-2005 The NetBSD Foundation, Inc. + * Copyright (c) 1996-2009 The NetBSD Foundation, Inc. * All rights reserved. * * This code is derived from software contributed to The NetBSD Foundation @@ -68,7 +68,7 @@ #if 0 static char sccsid[] = "@(#)cmdtab.c 8.4 (Berkeley) 10/9/94"; #else -__RCSID(" NetBSD: cmdtab.c,v 1.47 2007/04/11 04:40:19 lukem Exp "); +__RCSID(" NetBSD: cmdtab.c,v 1.52 2012/12/22 16:57:09 christos Exp "); #endif #endif /* not lint */ @@ -101,7 +101,9 @@ HSTR deletehelp[] = "delete remote file"; HSTR disconhelp[] = "terminate ftp session"; HSTR domachelp[] = "execute macro"; HSTR edithelp[] = "toggle command line editing"; +HSTR epsvhelp[] = "toggle use of EPSV/EPRT on both IPv4 and IPV6 ftp"; HSTR epsv4help[] = "toggle use of EPSV/EPRT on IPv4 ftp"; +HSTR epsv6help[] = "toggle use of EPSV/EPRT on IPv6 ftp"; HSTR feathelp[] = "show FEATures supported by remote system"; HSTR formhelp[] = "set file transfer format"; HSTR gatehelp[] = "toggle gate-ftp; specify host[:port] to change proxy"; @@ -212,7 +214,9 @@ struct cmd cmdtab[] = { { "dir", H(lshelp), 1, 1, 1, CMPL(rl) ls }, { "disconnect", H(disconhelp), 0, 1, 1, CMPL0 disconnect }, { "edit", H(edithelp), 0, 0, 0, CMPL0 setedit }, + { "epsv", H(epsvhelp), 0, 0, 0, CMPL0 setepsv }, { "epsv4", H(epsv4help), 0, 0, 0, CMPL0 setepsv4 }, + { "epsv6", H(epsv6help), 0, 0, 0, CMPL0 setepsv6 }, { "exit", H(quithelp), 0, 0, 0, CMPL0 quit }, { "features", H(feathelp), 0, 1, 1, CMPL0 feat }, { "fget", H(fgethelp), 1, 1, 1, CMPL(l) fget }, @@ -295,16 +299,17 @@ struct cmd cmdtab[] = { { "verbose", H(verbosehelp), 0, 0, 0, CMPL0 setverbose }, { "xferbuf", H(xferbufhelp), 0, 0, 0, CMPL0 setxferbuf }, { "?", H(helphelp), 0, 0, 1, CMPL(C) help }, - { 0 }, + { NULL, NULL, 0, 0, 0, CMPL0 NULL }, }; struct option optiontab[] = { { "anonpass", NULL }, { "ftp_proxy", NULL }, { "http_proxy", NULL }, + { "https_proxy",NULL }, { "no_proxy", NULL }, { "pager", NULL }, { "prompt", NULL }, { "rprompt", NULL }, - { 0 }, + { NULL, NULL }, }; |