修正生成代码包长的检查上限
This commit is contained in:
@@ -51,7 +51,7 @@ class GenPkt(object):
|
||||
else:
|
||||
pkt_len = pkt_len + sp[5] + 8
|
||||
|
||||
if pkt_len > 2048:
|
||||
if pkt_len > 2044:
|
||||
print('Error, bad pkt_len:', pkt_len)
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user