From 686721f96a55b3ec73b224a31c3da15643f1573c Mon Sep 17 00:00:00 2001 From: bol-van Date: Mon, 22 Dec 2025 11:34:01 +0300 Subject: [PATCH] zapret-lib: wsize_rewrite change dlog text --- lua/zapret-lib.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lua/zapret-lib.lua b/lua/zapret-lib.lua index 0cd9a08..ac7e2c2 100644 --- a/lua/zapret-lib.lua +++ b/lua/zapret-lib.lua @@ -1300,7 +1300,7 @@ function wsize_rewrite(dis, arg) local b = false if arg.wsize then local wsize = tonumber(arg.wsize) - DLOG("window size "..dis.tcp.th_win.." => "..wsize) + DLOG("wsize_rewrite: window size "..dis.tcp.th_win.." => "..wsize) dis.tcp.th_win = tonumber(arg.wsize) b = true end @@ -1310,9 +1310,9 @@ function wsize_rewrite(dis, arg) if i then local oldscale = u8(dis.tcp.options[i].data) if scale>oldscale then - DLOG("not increasing scale factor") + DLOG("wsize_rewrite: not increasing scale factor") elseif scale "..scale) + DLOG("wsize_rewrite: scale factor "..oldscale.." => "..scale) dis.tcp.options[i].data = bu8(scale) b = true end