summaryrefslogtreecommitdiff
path: root/sys/src/cmd/ip
diff options
context:
space:
mode:
authorAlex Musolino <alex@musolino.id.au>2020-09-23 12:44:05 +0930
committerAlex Musolino <alex@musolino.id.au>2020-09-23 12:44:05 +0930
commit23de6808f70552beeb4b3a3374543f7aaf31c4c8 (patch)
tree526b214e5069f03825f1787cf0621595cd6cc85c /sys/src/cmd/ip
parent313aebb96478c37be8f39754875c02dcb3f896cc (diff)
ftpd: handle "allo" command by treating it as a no-op
RFC959 says: "The ALLO command should be treated as a NOOP (no operation) by those servers which do not require that the maximum size of the file be declared beforehand..."
Diffstat (limited to 'sys/src/cmd/ip')
-rw-r--r--sys/src/cmd/ip/ftpd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/src/cmd/ip/ftpd.c b/sys/src/cmd/ip/ftpd.c
index f4ebbf68b..6661189e9 100644
--- a/sys/src/cmd/ip/ftpd.c
+++ b/sys/src/cmd/ip/ftpd.c
@@ -85,6 +85,7 @@ struct Cmd
Cmd cmdtab[] =
{
{ "abor", abortcmd, 0, },
+ { "allo", nopcmd, 1, },
{ "appe", appendcmd, 1, },
{ "cdup", cdupcmd, 1, },
{ "cwd", cwdcmd, 1, },