From 2452ec71f20289aeabd902e7cd3eab86c89e3a43 Mon Sep 17 00:00:00 2001 From: fumiama Date: Fri, 31 Dec 2021 14:25:36 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E5=88=86=E7=89=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lower/nic.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lower/nic.go b/lower/nic.go index 3af7226..586a442 100644 --- a/lower/nic.go +++ b/lower/nic.go @@ -63,7 +63,7 @@ func (nc *NIC) Start(m *link.Me) { buf2 := make([]byte, m.MTU()+68) // 增加报头长度与 TEA 冗余 off := 0 isrev := false - t := time.NewTimer(time.Millisecond) + t := time.NewTicker(time.Millisecond) for range t.C { // 从 NIC 发送 if !nc.hasstart { break