mirror of
https://github.com/fumiama/WireGold.git
synced 2026-06-22 03:20:30 +08:00
fix 分片
This commit is contained in:
@@ -63,7 +63,7 @@ func (nc *NIC) Start(m *link.Me) {
|
|||||||
buf2 := make([]byte, m.MTU()+68) // 增加报头长度与 TEA 冗余
|
buf2 := make([]byte, m.MTU()+68) // 增加报头长度与 TEA 冗余
|
||||||
off := 0
|
off := 0
|
||||||
isrev := false
|
isrev := false
|
||||||
t := time.NewTimer(time.Millisecond)
|
t := time.NewTicker(time.Millisecond)
|
||||||
for range t.C { // 从 NIC 发送
|
for range t.C { // 从 NIC 发送
|
||||||
if !nc.hasstart {
|
if !nc.hasstart {
|
||||||
break
|
break
|
||||||
|
|||||||
Reference in New Issue
Block a user