From 556681a829b2ca69fb01826a744aba2b718e4b28 Mon Sep 17 00:00:00 2001 From: z3APA3A <3APA3A@3proxy.ru> Date: Wed, 28 Jun 2017 12:33:08 +0300 Subject: [PATCH] Change EPSV reply code to 229 --- src/ftppr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ftppr.c b/src/ftppr.c index 674001a..ce029f8 100644 --- a/src/ftppr.c +++ b/src/ftppr.c @@ -142,7 +142,7 @@ void * ftpprchild(struct clientparam* param) { ); } else { - sprintf((char *)buf, "227 OK (|||%u|)\r\n", + sprintf((char *)buf, "229 OK (|||%u|)\r\n", (unsigned)ntohs(*SAPORT(¶m->sincl)) ); }