新TAP测试(TODO 解析arp)

This commit is contained in:
黄思敏 2022-09-01 15:35:22 +08:00
parent 63f0bd017a
commit 964ae4a5ef

View File

@ -116,7 +116,7 @@ func (cli *RPCClient) run() {
Compress(buf, cli.Frames)
if len(cli.Frames) >= 1000 {
if len(cli.Frames) >= 2 {
var countbuf = 0
for _, frame := range cli.Frames {
countbuf += len(frame)