Fix EMSI sessions, buffer_clear() was renamed tx_purge()

This commit is contained in:
Deon George 2023-07-08 17:36:41 +10:00
parent ccdce6bb62
commit 02105b10fb
2 changed files with 2 additions and 2 deletions
app/Classes/Protocol

View File

@ -908,7 +908,7 @@ final class EMSI extends BaseProtocol implements CRCInterface,ZmodemInterface
}
$this->client->rx_purge();
$this->client->buffer_clear();
$this->client->tx_purge();
$this->emsi_banner();
$t1 = $this->client->timer_set(self::EMSI_HSTIMEOUT);

View File

@ -2389,7 +2389,7 @@ final class Zmodem extends Protocol implements CRCInterface,ZmodemInterface
$crc = self::LSZ_INIT_CRC32;
$buf = '';
$this->client->buffer_clear();
$this->client->tx_purge();
$buf = $send->sendas.chr(0);
$buf .= sprintf('%ld %lo %o %o %ld %ld',