From 270cee077fd635ad7f5da7950057b954a0ac448b Mon Sep 17 00:00:00 2001 From: shats Date: Tue, 17 Feb 2026 23:29:36 +0700 Subject: [PATCH] refactor(MikrotikConfigRoutes): update speed test configuration to include 'proplist' for TCP metrics and remove deprecated 'protocol' parameter --- backend/routes/mikrotikConfigRoutes.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/routes/mikrotikConfigRoutes.js b/backend/routes/mikrotikConfigRoutes.js index 488ec94..714d1f9 100644 --- a/backend/routes/mikrotikConfigRoutes.js +++ b/backend/routes/mikrotikConfigRoutes.js @@ -986,8 +986,8 @@ async function speedTestViaTunnel(req, res) { address, user: remoteCreds.user, password: remoteCreds.password || '', - protocol: 'tcp', 'test-duration': `${durationSeconds}s`, + proplist: 'tcp-download,tcp-upload', }; try { @@ -995,8 +995,8 @@ async function speedTestViaTunnel(req, res) { '/tool/speed-test', `address=${body.address}`, `user=${body.user}`, - 'protocol=tcp', `test-duration=${durationSeconds}s`, + 'proplist=tcp-download,tcp-upload', ]; console.log('[mikrotik][speedTestViaTunnel]', { serverId,