新TAP测试(TODO 解析arp)
This commit is contained in:
parent
63f0bd017a
commit
964ae4a5ef
|
@ -116,7 +116,7 @@ func (cli *RPCClient) run() {
|
||||||
|
|
||||||
Compress(buf, cli.Frames)
|
Compress(buf, cli.Frames)
|
||||||
|
|
||||||
if len(cli.Frames) >= 1000 {
|
if len(cli.Frames) >= 2 {
|
||||||
var countbuf = 0
|
var countbuf = 0
|
||||||
for _, frame := range cli.Frames {
|
for _, frame := range cli.Frames {
|
||||||
countbuf += len(frame)
|
countbuf += len(frame)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user