mirror of
https://git.savannah.gnu.org/git/inetutils.git
synced 2026-01-12 00:19:39 +08:00
ftpd: Setting of idle time.
The command to change idle time was broken.
This commit is contained in:
@@ -1,3 +1,12 @@
|
||||
2013-09-23 Mats Erik Andersson <gnu@gisladisker.se>
|
||||
|
||||
ftpd: Setting of idle time.
|
||||
The command to change idle time was broken.
|
||||
|
||||
* ftpd/ftpcmd.y (cmd) <SITE IDLE NUMBER>: The token IDLE
|
||||
must go before `check_login' to avoid a lookahead syntax
|
||||
error. Adjust the parameter reference for `check_login'.
|
||||
|
||||
2013-09-19 Mats Erik Andersson <gnu@gisladisker.se>
|
||||
|
||||
ifconfig: Status and medium reports on BSD.
|
||||
|
||||
@@ -497,9 +497,9 @@ cmd
|
||||
"Current IDLE time limit is %d seconds; max %d",
|
||||
timeout, maxtimeout);
|
||||
}
|
||||
| SITE SP check_login IDLE SP NUMBER CRLF
|
||||
| SITE SP IDLE check_login SP NUMBER CRLF
|
||||
{
|
||||
if ($3)
|
||||
if ($4)
|
||||
{
|
||||
if ($6 < 30 || $6 > maxtimeout)
|
||||
reply (501,
|
||||
|
||||
Reference in New Issue
Block a user