From 0f61fd26c5625413f81ee145f6a3a0e25e49bfa7 Mon Sep 17 00:00:00 2001 From: chopster44 Date: Mon, 1 Dec 2025 18:24:40 +0000 Subject: [PATCH] mtu logging --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 15e25d2..8f112ad 100644 --- a/src/index.ts +++ b/src/index.ts @@ -250,7 +250,7 @@ export default class Updater { if (dataView[0] == 1) { // send file this.sendNextPacket(); - progressCallback(`Sending (${Math.floor((this._fileProgress *100)/this._fileSize)}%), ${this._fileProgress} / ${this._fileSize}`); + progressCallback(`MTU: ${this._packetSize}; Sending (${Math.floor((this._fileProgress *100)/this._fileSize)}%), ${this._fileProgress} / ${this._fileSize}`); } else if (dataView[0] == 2) { // done logic console.log(`progress >= filesize: ${this._fileProgress} vs ${this._fileSize}`);