summaryrefslogtreecommitdiffstats
path: root/libexec/ftpd
diff options
context:
space:
mode:
authorpst <pst@FreeBSD.org>1994-10-22 06:23:15 +0000
committerpst <pst@FreeBSD.org>1994-10-22 06:23:15 +0000
commitd772bde0c497b847a19691b182e389315e5c17d4 (patch)
treecb6559824b9688a2b9222c38c15ca116d9ed86ac /libexec/ftpd
parent8e9dc68f932731b3577bec56fd63108dd5872669 (diff)
downloadFreeBSD-src-d772bde0c497b847a19691b182e389315e5c17d4.zip
FreeBSD-src-d772bde0c497b847a19691b182e389315e5c17d4.tar.gz
Figured it out, misapplied a patch, ftpd now works again.
Diffstat (limited to 'libexec/ftpd')
-rw-r--r--libexec/ftpd/ftpcmd.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/ftpd/ftpcmd.y b/libexec/ftpd/ftpcmd.y
index 6ec3d25..151c3d7 100644
--- a/libexec/ftpd/ftpcmd.y
+++ b/libexec/ftpd/ftpcmd.y
@@ -976,7 +976,7 @@ yylex()
upper(cp);
p = lookup(sitetab, cp);
cbuf[cpos] = c;
- if (p != 0) {
+ if (guest == 0 && p != 0) {
if (p->implemented == 0) {
state = CMD;
nack(p->name);
OpenPOWER on IntegriCloud