The Lambda Lab
/
projects
/
qwikboard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd6aa56
)
Fixed out-by-one error in conf num.
author
plugd
<plugd@thelambdalab.xyz>
Mon, 5 Aug 2024 12:54:28 +0000
(14:54 +0200)
committer
plugd
<plugd@thelambdalab.xyz>
Mon, 5 Aug 2024 12:54:28 +0000
(14:54 +0200)
obbs
patch
|
blob
|
history
diff --git
a/obbs
b/obbs
index
21d1982
..
eecda36
100755
(executable)
--- 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