mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Make restart work in active mode, too.
PR: bin/18688 Submitted by: Rudolf Cejka <cejkar@dcse.fee.vutbr.cz>
This commit is contained in:
parent
047843dd61
commit
893980ad29
1 changed files with 5 additions and 0 deletions
|
|
@ -455,6 +455,11 @@ _ftp_transfer(int cd, char *oper, char *file,
|
|||
if (e != FTP_OK)
|
||||
goto ouch;
|
||||
|
||||
/* seek to required offset */
|
||||
if (offset)
|
||||
if (_ftp_cmd(cd, "REST %lu", (u_long)offset) != FTP_FILE_OK)
|
||||
goto sysouch;
|
||||
|
||||
/* make the server initiate the transfer */
|
||||
if (verbose)
|
||||
_fetch_info("initiating transfer");
|
||||
|
|
|
|||
Loading…
Reference in a new issue