-/* $OpenBSD: ftpcmd.y,v 1.63 2016/08/14 22:56:29 guenther Exp $ */
+/* $OpenBSD: ftpcmd.y,v 1.64 2016/08/26 06:32:10 tedu Exp $ */
/* $NetBSD: ftpcmd.y,v 1.7 1996/04/08 19:03:11 jtc Exp $ */
/*
| SYST check_login CRLF
{
if ($2)
- reply(215, "UNIX Type: L%d", NBBY);
+ reply(215, "UNIX Type: L8");
}
/*
| L
{
cmd_type = TYPE_L;
- cmd_bytesz = NBBY;
+ cmd_bytesz = 8;
}
| L SP byte_size
{
-/* $OpenBSD: ftpd.c,v 1.218 2016/08/14 22:56:29 guenther Exp $ */
+/* $OpenBSD: ftpd.c,v 1.219 2016/08/26 06:32:10 tedu Exp $ */
/* $NetBSD: ftpd.c,v 1.15 1995/06/03 22:46:47 mycroft Exp $ */
/*
if (type == TYPE_A || type == TYPE_E)
printf(", FORM: %s", formnames[form]);
if (type == TYPE_L)
-#if NBBY == 8
- printf(" %d", NBBY);
-#else
- printf(" %d", bytesize); /* need definition! */
-#endif
+ printf(" 8");
printf("; STRUcture: %s; transfer MODE: %s\r\n",
strunames[stru], modenames[mode]);
ispassive = 0;