From 8302d1b5882fff0e37bbbf913ab068ba22ed9788 Mon Sep 17 00:00:00 2001 From: plugd Date: Mon, 5 Aug 2024 14:54:28 +0200 Subject: [PATCH] Fixed out-by-one error in conf num. --- obbs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/obbs b/obbs index 21d1982..eecda36 100755 --- a/obbs +++ b/obbs @@ -159,7 +159,7 @@ function qwk.write_message_header_block(mf, obbs, conf_num, pkt_msg_num, msg) mf:write(space_pad(tostring(nblocks), 6)) -- number of blocks including header mf:write("\xe1") -- flag indicating message is "active" (not "to be killed") - mf:write(string.pack("I2",conf_num)) + mf:write(string.pack("I2",conf_num-1)) mf:write(string.pack("I2",pkt_msg_num)) mf:write(" ") -- No network tag-line present end -- 2.20.1